summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/layout
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-30 18:48:39 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-30 18:48:39 +0000
commitddfeae7a5f109fc4e993e6697b961ea652360fc2 (patch)
tree0369ad141c7cb916f5e1f4fe1fbbf491e78aaaca /android-app/app/src/main/res/layout
parent8233794366939f614a9899a11f2b7093bc32d9b8 (diff)
feat(fishing): wire fishing mode FAB and overlay in MainActivity
Adds FishingOverlayView + fab_fishing to layout, initializes FishingModeManager, and wires FAB click to toggle fishing mode with SST layer and target overlay. 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/activity_main.xml25
1 files changed, 25 insertions, 0 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 d3b7942..1a54722 100644
--- a/android-app/app/src/main/res/layout/activity_main.xml
+++ b/android-app/app/src/main/res/layout/activity_main.xml
@@ -102,6 +102,31 @@
android:focusable="true"
android:background="?attr/colorSurface" />
+ <!-- Fishing mode overlay card — bottom-start, above bottom sheet -->
+ <org.terst.nav.ui.fishing.FishingOverlayView
+ android:id="@+id/fishing_overlay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="8dp"
+ android:layout_marginBottom="140dp"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
+
+ <!-- Fishing mode FAB — bottom-start -->
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/fab_fishing"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginBottom="80dp"
+ android:src="@drawable/ic_fish"
+ android:contentDescription="Fishing mode"
+ app:fabSize="mini"
+ app:elevation="8dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
+
<com.google.android.material.button.MaterialButton
android:id="@+id/fab_recenter"
android:layout_width="wrap_content"