From 48ad5dca0452689de86b7edf0b6638fe7c5c7025 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 20 May 2026 19:43:25 +0000 Subject: Fix tack detection and convert track detail to embedded-map fragment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TackDetector: revert STABILITY_MAX to 30° (was tightened too far to 20°), add 120s start-skip to filter GPS cold-start false positives, keep 45s minimum gap between tacks. TrackDetailSheet: convert from BottomSheetDialogFragment to a regular Fragment with an embedded MapLibreMap in the top half. This fixes the map centering issue (the embedded map is always sized to its own frame), eliminates accidental dismissal when dragging the map, and makes the view self-contained — back navigation restores the track list via the fragment back stack. Tack markers rendered on the embedded map; tapping a log event pans the embedded map directly. https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn --- .../main/res/layout/layout_track_detail_sheet.xml | 179 ++++++++++++--------- 1 file changed, 100 insertions(+), 79 deletions(-) (limited to 'android-app/app/src/main/res/layout') diff --git a/android-app/app/src/main/res/layout/layout_track_detail_sheet.xml b/android-app/app/src/main/res/layout/layout_track_detail_sheet.xml index 6a2ba50..fafd75a 100644 --- a/android-app/app/src/main/res/layout/layout_track_detail_sheet.xml +++ b/android-app/app/src/main/res/layout/layout_track_detail_sheet.xml @@ -6,100 +6,121 @@ android:orientation="vertical" android:background="?attr/colorSurface"> +<<<<<<< Updated upstream +======= + + + + +>>>>>>> Stashed changes - + + - + - + - - - - - - - - - - + + - - - - + + + + + + + + + + + + + + + + + + + - - - - + - + - - - + + + -- cgit v1.2.3