summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-26 02:06:46 +0000
committerClaude <noreply@anthropic.com>2026-05-26 02:06:46 +0000
commit70c1698ebc9e9661724e5326ae1c93f2b74c2b09 (patch)
treea1274b61156abb9c5df12c80b8dfd98ba8cea7a5 /android-app/app/src/main/res
parent04b5b7f6aa469a368bcf8f1d75046770d3f83d63 (diff)
Fix LocationService current TODO; show log entries in track detail view
LocationService: - Add _currentSpeedKt/_currentDirectionDeg to companion state - Add setCurrentConditions() companion function - snapshot() now returns real current data instead of null - MainActivity.applyConditions() calls setCurrentConditions() on each marine conditions update TrackDetailSheet: - buildLogEvents() filters NavApplication.logbookRepository entries by track time window (startMs..endMs); entries without GPS snap to nearest track point by timestamp - Note/photo events added to the event log list with 📝/📷 icons - drawNotes() adds a green CircleLayer for note/photo markers on the map - LogEvent extended with photoPath field - LogEventAdapter shows a downsampled photo thumbnail when present item_log_entry.xml: add iv_log_thumb ImageView (hidden by default) https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn
Diffstat (limited to 'android-app/app/src/main/res')
-rw-r--r--android-app/app/src/main/res/layout/item_log_entry.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/layout/item_log_entry.xml b/android-app/app/src/main/res/layout/item_log_entry.xml
index fc53ef1..e23c7c2 100644
--- a/android-app/app/src/main/res/layout/item_log_entry.xml
+++ b/android-app/app/src/main/res/layout/item_log_entry.xml
@@ -49,6 +49,18 @@
app:layout_constraintTop_toBottomOf="@id/tv_log_label"
app:layout_constraintStart_toEndOf="@id/tv_log_icon"
app:layout_constraintEnd_toEndOf="parent"
+ android:layout_marginStart="8dp" />
+
+ <ImageView
+ android:id="@+id/iv_log_thumb"
+ android:layout_width="80dp"
+ android:layout_height="60dp"
+ android:scaleType="centerCrop"
+ android:layout_marginTop="6dp"
+ android:contentDescription="Log photo"
+ android:visibility="gone"
+ app:layout_constraintTop_toBottomOf="@id/tv_log_detail"
+ app:layout_constraintStart_toEndOf="@id/tv_log_icon"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="8dp" />