summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/layout/fragment_safety.xml
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-04-04 02:38:51 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-04-04 02:38:51 +0000
commit91645cc9029798d78f6d5630ff9ec121e391ec49 (patch)
tree1bfb78ddb63189888b0e9a0ebca884866da83949 /android-app/app/src/main/res/layout/fragment_safety.xml
parente182619ce43bddea8dbee73592e3318fa9fbfc71 (diff)
feat(tripreport): add pre-trip planning and past track visualization
- Fix compilation errors (missing imports for PropertyFactory and MaterialButton) - Implement Pre-Trip Report with weather summary, boat profile, and sail suggestions - Differentiate between active track (solid red) and past tracks (dotted red) on map - Add navigation to Pre-Trip Report from Safety Dashboard - Robustify track storage to preserve multiple tracks in session Co-Authored-By: Gemini CLI <gemini-cli@google.com>
Diffstat (limited to 'android-app/app/src/main/res/layout/fragment_safety.xml')
-rw-r--r--android-app/app/src/main/res/layout/fragment_safety.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/layout/fragment_safety.xml b/android-app/app/src/main/res/layout/fragment_safety.xml
index 5b2397e..f90420e 100644
--- a/android-app/app/src/main/res/layout/fragment_safety.xml
+++ b/android-app/app/src/main/res/layout/fragment_safety.xml
@@ -104,4 +104,13 @@
</com.google.android.material.card.MaterialCardView>
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_plan_trip"
+ style="@style/Widget.Material3.Button.TonalButton"
+ android:layout_width="match_parent"
+ android:layout_height="60dp"
+ android:layout_marginTop="24dp"
+ android:text="PLAN TRIP (PRE-TRIP REPORT)"
+ app:layout_constraintTop_toBottomOf="@id/card_anchor" />
+
</androidx.constraintlayout.widget.ConstraintLayout>