From 715806c626aeb0f0101f8be5bae0f6179b28e3cb Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 2 Jul 2026 04:52:10 +0000 Subject: fix+feat: track layer cleanup, notification, log redesign, color consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix track events persisting on main map: clear selectedTrack and pop track_detail back stack in hideOverlays() so speed segments and tack circles are removed when navigating to Map via bottom nav - Notification: dual channels (recording=DEFAULT, background=MIN); shows app name + "Recording journey · Xh Ym · X.X nm"; updates live from trackStats collector; invisible when not recording - Log tab: unified reverse-chronological ship's log merging saved tracks + standalone notes (no photo-only rows); form hidden when not recording with "New Note" button → AlertDialog (with camera/gallery); combine() flow keeps list reactive to both tracks and log entries - Sheet border: bottom nav + fragment container now use colorSurfaceContainerHigh matching the instrument card's elevated surface color; card elevation set to 0dp with explicit background to avoid double-tinting Co-Authored-By: Claude Sonnet 4.6 --- android-app/app/src/main/res/layout/activity_main.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'android-app/app/src/main/res/layout/activity_main.xml') 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 99aa192..c6e80e0 100644 --- a/android-app/app/src/main/res/layout/activity_main.xml +++ b/android-app/app/src/main/res/layout/activity_main.xml @@ -87,7 +87,7 @@ android:visibility="gone" android:clickable="true" android:focusable="true" - android:background="?attr/colorSurface" /> + android:background="?attr/colorSurfaceContainerHigh" /> @@ -191,7 +192,7 @@ android:id="@+id/bottom_navigation" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorSurface" + android:background="?attr/colorSurfaceContainerHigh" app:menu="@menu/bottom_nav_menu" /> -- cgit v1.2.3