summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-04-05 07:30:27 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-04-05 07:30:27 +0000
commit2d86c0bcbc6c0f499406ef817b4bf54195756b45 (patch)
tree2d0816d7ca7d2b918011b44cba73cd28f2fa8015 /android-app/app/src/main/res
parent94d04a3d892b9ad3dc093417d106d806b8d48ae0 (diff)
feat(ui): remove report section from instrument sheet, fix touch-through
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res')
-rw-r--r--android-app/app/src/main/res/layout/layout_instruments_sheet.xml57
1 files changed, 5 insertions, 52 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 16410c0..8c41ff3 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
@@ -5,7 +5,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
- android:background="?attr/colorSurface">
+ android:background="?attr/colorSurface"
+ android:clickable="true"
+ android:focusable="true">
<View
android:id="@+id/drag_handle"
@@ -159,7 +161,8 @@
android:layout_marginTop="8dp"
app:layout_constraintTop_toBottomOf="@id/label_conditions"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent">
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent">
<LinearLayout
android:layout_width="0dp"
@@ -196,55 +199,5 @@
</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 &amp; 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>