summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/layout/fragment_safety.xml
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-10 22:47:27 +0000
committerClaude <noreply@anthropic.com>2026-04-10 22:47:27 +0000
commitfc7192288109fc3542670cbeeaebe0de2a75eb74 (patch)
treed78d33ad92fb32e6a57ea3df0ebf327540597d0e /android-app/app/src/main/res/layout/fragment_safety.xml
parentb01a638674a313355664cc387e7da0d77a9c32d0 (diff)
Add Learn tab; move quit to Safety; remove persistent MOB FAB
UI cleanup: - Remove always-visible MOB FAB — Safety screen button is sufficient - Remove floating quit button; move to bottom of Safety screen - fragment_container is now clickable/focusable, blocking map touch-through for all overlays (trip reports, log, safety) - Record Track FAB hidden while any overlay is shown, visible on map tab New Learn tab (5th nav item): - Migration guides for Navionics and Sea People (local markdown via DocFragment) - ASA Course Catalog, ASA Online Learning, ColRegs, Sailing Flashcards (open in browser) - Remove blanket assets/ .gitignore so markdown docs are tracked https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app/app/src/main/res/layout/fragment_safety.xml')
-rw-r--r--android-app/app/src/main/res/layout/fragment_safety.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/layout/fragment_safety.xml b/android-app/app/src/main/res/layout/fragment_safety.xml
index f90420e..60ea1aa 100644
--- a/android-app/app/src/main/res/layout/fragment_safety.xml
+++ b/android-app/app/src/main/res/layout/fragment_safety.xml
@@ -113,4 +113,15 @@
android:text="PLAN TRIP (PRE-TRIP REPORT)"
app:layout_constraintTop_toBottomOf="@id/card_anchor" />
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_quit"
+ style="@style/Widget.Material3.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Quit"
+ android:textColor="?attr/colorOnSurfaceVariant"
+ app:icon="@drawable/ic_close"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent" />
+
</androidx.constraintlayout.widget.ConstraintLayout>