From 994ddaf2ec8d8aace4fef72a214df31e6ef134ef Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 30 May 2026 08:19:46 +0000 Subject: Trip report: map, photos, structured layout, preferred units Replaces monospace text block with: - Full-bleed MapLibre track map (260dp) at the top - Structured stats row (distance / avg speed / max speed) - Conditions row (wave height, temp) in user-preferred units - Log entries with full-width photo thumbnails - Pirate mode Easter egg preserved via long-press title - Speed, temp, and depth formatted with UnitPrefs https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD --- .../src/main/res/layout/fragment_trip_report.xml | 326 +++++++++++---------- 1 file changed, 172 insertions(+), 154 deletions(-) (limited to 'android-app/app/src/main/res/layout') diff --git a/android-app/app/src/main/res/layout/fragment_trip_report.xml b/android-app/app/src/main/res/layout/fragment_trip_report.xml index ec3f58e..5df8938 100644 --- a/android-app/app/src/main/res/layout/fragment_trip_report.xml +++ b/android-app/app/src/main/res/layout/fragment_trip_report.xml @@ -3,220 +3,238 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?attr/colorSurface"> + android:background="?attr/colorSurface" + android:fillViewport="true"> + android:orientation="vertical"> - + + - + - - - + android:padding="20dp"> + android:text="Trip Report" + android:textSize="24sp" + android:textStyle="bold" + android:longClickable="true" + android:layout_marginBottom="16dp" /> - + + android:orientation="vertical" + android:visibility="gone"> + + + + + + - + + - + + + + + + android:layout_weight="1" + android:orientation="vertical" + android:gravity="center_horizontal"> + + + + + + + + + + - + android:orientation="horizontal" + android:layout_marginBottom="20dp" + android:visibility="gone"> + + android:textSize="14sp" + android:alpha="0.7" /> + + + + + - + android:layout_marginTop="16dp" + android:visibility="gone"> + + android:textAllCaps="true" + android:letterSpacing="0.12" + android:alpha="0.5" + android:layout_marginBottom="8dp" /> + + + - - + + android:fontFamily="monospace" + android:lineSpacingExtra="4dp" /> - + - - + - - - - - - - - - - - - - + android:text="RETRY" + android:visibility="gone" /> - - - - - - - - + android:layout_gravity="center" + android:layout_marginTop="48dp" + android:visibility="gone" /> - + -- cgit v1.2.3