diff options
Diffstat (limited to 'android-app/app/src/main/res')
| -rw-r--r-- | android-app/app/src/main/res/layout/activity_main.xml | 14 | ||||
| -rw-r--r-- | android-app/app/src/main/res/menu/bottom_nav_menu.xml | 4 |
2 files changed, 14 insertions, 4 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 4150b2e..6832daa 100644 --- a/android-app/app/src/main/res/layout/activity_main.xml +++ b/android-app/app/src/main/res/layout/activity_main.xml @@ -39,6 +39,20 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" /> + <!-- Layers FAB — map layer picker --> + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/fab_layers" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:layout_marginEnd="12dp" + android:contentDescription="Layers" + app:srcCompat="@drawable/ic_layers" + app:fabSize="mini" + app:elevation="8dp" + app:layout_constraintTop_toBottomOf="@id/nav_hud" + app:layout_constraintEnd_toEndOf="parent" /> + <!-- Crosshair — visible when not following (panning) --> <ImageView android:id="@+id/map_crosshair" diff --git a/android-app/app/src/main/res/menu/bottom_nav_menu.xml b/android-app/app/src/main/res/menu/bottom_nav_menu.xml index 5c6de7e..4bbf8b6 100644 --- a/android-app/app/src/main/res/menu/bottom_nav_menu.xml +++ b/android-app/app/src/main/res/menu/bottom_nav_menu.xml @@ -5,10 +5,6 @@ android:icon="@drawable/ic_map" android:title="Map" /> <item - android:id="@+id/nav_layers" - android:icon="@drawable/ic_layers" - android:title="Layers" /> - <item android:id="@+id/nav_log" android:icon="@drawable/ic_log" android:title="Log" /> |
