summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-20 09:33:31 +0000
committerClaude <noreply@anthropic.com>2026-05-20 09:33:31 +0000
commit925790fee2d3c092cb7ca20797c7b57eeff40fea (patch)
tree4b5e123ca7316530f4e1ea6d0ba06b4639a090be /android-app/app/src/main/res
parent808939ca722bb760517a5ffaddedb9bb06091125 (diff)
Move Saved Tracks to Log tab; restore conditions sheet on back
- hideOverlays() now resets bottomSheetBehavior to COLLAPSED/not-hideable, so the conditions sheet reappears correctly when returning from any overlay (previously it stayed hidden after navigating away via the track browser) - Remove btn_saved_tracks from the conditions sheet (layout + click handler) - Add btn_saved_tracks to the Log screen layout and wire it in VoiceLogFragment via MainActivity.showSavedTracks(); tracks live with the log, not with weather 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/fragment_voice_log.xml9
-rw-r--r--android-app/app/src/main/res/layout/layout_instruments_sheet.xml14
2 files changed, 9 insertions, 14 deletions
diff --git a/android-app/app/src/main/res/layout/fragment_voice_log.xml b/android-app/app/src/main/res/layout/fragment_voice_log.xml
index c1275a6..16c3574 100644
--- a/android-app/app/src/main/res/layout/fragment_voice_log.xml
+++ b/android-app/app/src/main/res/layout/fragment_voice_log.xml
@@ -153,4 +153,13 @@
android:layout_height="60dp"
android:text="GENERATE TRIP REPORT" />
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/btn_saved_tracks"
+ style="@style/Widget.Material3.Button.OutlinedButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:text="Saved Tracks"
+ android:textAllCaps="false" />
+
</LinearLayout>
diff --git a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
index f8dc365..31c445e 100644
--- a/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
+++ b/android-app/app/src/main/res/layout/layout_instruments_sheet.xml
@@ -339,19 +339,5 @@
</LinearLayout>
- <!-- Saved Tracks button -->
- <com.google.android.material.button.MaterialButton
- android:id="@+id/btn_saved_tracks"
- style="@style/Widget.Material3.Button.OutlinedButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="16dp"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="8dp"
- android:text="Saved Tracks"
- android:textAllCaps="false"
- app:layout_constraintTop_toBottomOf="@id/forecast_row"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>