diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-04-03 02:44:25 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-04-03 02:44:25 +0000 |
| commit | 04d990f8066312e79532cad9f70f7b4c92a3d9c8 (patch) | |
| tree | a036ffa1fc315b49ac2eda8faaf884c53fe21125 /android-app/app/src | |
| parent | 2e0c420020526873906fedd024b50baef56011fa (diff) | |
fix(ui): raise both FABs fully above instrument sheet top edge
anchorGravity=top centers the FAB on the sheet edge, leaving half
the button occluded. Increase marginBottom to 44dp (28dp to clear
the FAB radius + 16dp gap) so both buttons sit fully above the sheet.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src')
| -rw-r--r-- | android-app/app/src/main/res/layout/activity_main.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android-app/app/src/main/res/layout/activity_main.xml b/android-app/app/src/main/res/layout/activity_main.xml index 68abc60..edac466 100644 --- a/android-app/app/src/main/res/layout/activity_main.xml +++ b/android-app/app/src/main/res/layout/activity_main.xml @@ -59,7 +59,8 @@ android:id="@+id/fab_mob" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_marginStart="16dp" + android:layout_marginBottom="44dp" android:clickable="true" android:focusable="true" android:contentDescription="Man Overboard" @@ -73,7 +74,8 @@ android:id="@+id/fab_record_track" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="16dp" + android:layout_marginEnd="16dp" + android:layout_marginBottom="44dp" android:clickable="true" android:focusable="true" android:contentDescription="Record Track" |
