diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-05-05 12:30:50 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-05-05 12:30:50 -1000 |
| commit | 2123351fc1d1c529046c5179171e4d442ca20f55 (patch) | |
| tree | 449e71d17ee2badb33163dccaac2b85e70b18a18 /android-app/app/src/main/res/layout | |
| parent | e73c2f6536fe4203a138424980226010eea5c5e6 (diff) | |
fix: keep bottom nav visible when panning; expand drag handle touch target
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 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res/layout')
| -rw-r--r-- | android-app/app/src/main/res/layout/layout_instruments_sheet.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml index aa785e6..59a92c3 100644 --- a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml +++ b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml @@ -12,13 +12,12 @@ android:clickable="true" android:focusable="true"> - <!-- Drag handle --> + <!-- Drag handle — visual bar is 4dp, touch target is 40dp via inset drawable --> <View android:id="@+id/drag_handle" android:layout_width="36dp" - android:layout_height="4dp" - android:layout_marginTop="12dp" - android:background="@color/md_theme_outline" + android:layout_height="40dp" + android:background="@drawable/drag_handle_bg" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" /> |
