From 2123351fc1d1c529046c5179171e4d442ca20f55 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Tue, 5 May 2026 12:30:50 -1000 Subject: fix: keep bottom nav visible when panning; expand drag handle touch target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bottom nav: remove it from the following/panning fade cycle — only fabRecenter and fabRecordTrack swap; nav stays visible throughout. Drag handle: 4dp × 36dp was too small and competed with BottomSheet drag gestures. Now 40dp tall via inset drawable (visual bar unchanged, touch area is a usable 40dp × 36dp). Co-Authored-By: Claude Sonnet 4.6 --- android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'android-app/app/src/main/kotlin') diff --git a/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt b/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt index 8821b7c..5b219c4 100644 --- a/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt +++ b/android-app/app/src/main/kotlin/org/terst/nav/MainActivity.kt @@ -465,9 +465,9 @@ class MainActivity : AppCompatActivity(), SafetyFragment.SafetyListener { mapCrosshair.visibility = if (following) View.GONE else View.VISIBLE if (following) { fadeOut(fabRecenter, gone = true) - fadeIn(bottomNav, fabRecordTrack) + fadeIn(fabRecordTrack) } else { - fadeOut(bottomNav, fabRecordTrack, gone = true) + fadeOut(fabRecordTrack, gone = true) fadeIn(fabRecenter) } } -- cgit v1.2.3