From 77892d354eda07d98e2dfa5d00fca1ed1f808d8b Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 23 Mar 2026 04:16:32 +0000 Subject: feat: refactor UI to BottomNavigationView with Safety and Doc fragments Replace FAB-based navigation with a 4-tab BottomNavigationView (Map, Instruments, Log, Safety). Instruments use a collapsible bottom sheet; Log and Safety display as full-screen overlay fragments. - Add SafetyFragment with MOB and Anchor Watch controls - Add DocFragment for in-app markdown help (Markwon: core, tables, images) - Add layout_instruments_sheet with 3x3 instrument grid and PolarDiagramView - Add fragment_safety and fragment_doc layouts - Add vector drawables: ic_map, ic_instruments, ic_log, ic_safety, ic_close - Update activity_main.xml to CoordinatorLayout with bottom sheet + overlay - Fix: set isHideable=true before STATE_HIDDEN to avoid silent no-op from behavior_hideable=false default; restore false on Map/Instruments tabs Co-Authored-By: Claude Sonnet 4.6 --- .../app/src/main/res/layout/fragment_safety.xml | 107 +++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 android-app/app/src/main/res/layout/fragment_safety.xml (limited to 'android-app/app/src/main/res/layout/fragment_safety.xml') diff --git a/android-app/app/src/main/res/layout/fragment_safety.xml b/android-app/app/src/main/res/layout/fragment_safety.xml new file mode 100644 index 0000000..5b2397e --- /dev/null +++ b/android-app/app/src/main/res/layout/fragment_safety.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3