diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-04-04 07:10:41 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-04-04 07:10:41 +0000 |
| commit | 9f01ddfba17dda7fb386e83f007c671fec6d5b8e (patch) | |
| tree | 4ed5daadf94c168785595d18b70ba4a7d3d96ce3 /android-app/app/src/main/res | |
| parent | a8d851e5bfb78b065f10d457bf3ce8f2c771bb4c (diff) | |
feat(ui): surface trip planning and reports in instrument sheet
Diffstat (limited to 'android-app/app/src/main/res')
| -rw-r--r-- | android-app/app/src/main/res/layout/layout_instruments_sheet.xml | 54 |
1 files changed, 52 insertions, 2 deletions
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 a6b74b0..16410c0 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 @@ -159,8 +159,7 @@ android:layout_marginTop="8dp" app:layout_constraintTop_toBottomOf="@id/label_conditions" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toBottomOf="parent"> + app:layout_constraintEnd_toEndOf="parent"> <LinearLayout android:layout_width="0dp" @@ -197,4 +196,55 @@ </LinearLayout> + <!-- Reports Section --> + <View + android:id="@+id/reports_divider" + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="@color/md_theme_outline" + android:layout_marginTop="20dp" + app:layout_constraintTop_toBottomOf="@id/conditions_row" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> + + <TextView + android:id="@+id/label_reports" + style="@style/InstrumentLabel" + android:text="TRIP REPORTS & PLANNING" + android:layout_marginTop="12dp" + app:layout_constraintTop_toBottomOf="@id/reports_divider" + app:layout_constraintStart_toStartOf="parent" /> + + <LinearLayout + android:id="@+id/reports_row" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_marginTop="12dp" + app:layout_constraintTop_toBottomOf="@id/label_reports" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent"> + + <com.google.android.material.button.MaterialButton + android:id="@+id/btn_nav_pretrip" + style="@style/Widget.Material3.Button.TonalButton" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="PRE-TRIP PLAN" + android:layout_marginEnd="8dp" + android:textSize="12sp" /> + + <com.google.android.material.button.MaterialButton + android:id="@+id/btn_nav_tripreport" + style="@style/Widget.Material3.Button.TonalButton" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="GENERATE REPORT" + android:textSize="12sp" /> + + </LinearLayout> + </androidx.constraintlayout.widget.ConstraintLayout> |
