aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_details_reports.xml55
1 files changed, 38 insertions, 17 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml
index 52a3926..1eaf68c 100644
--- a/androidApp/src/main/res/layout/unit_details_reports.xml
+++ b/androidApp/src/main/res/layout/unit_details_reports.xml
@@ -28,29 +28,50 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
- <TableLayout
- android:id="@+id/eventsTable"
+ <HorizontalScrollView
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:isScrollContainer="true"
- android:scrollbars="vertical"
- android:stretchColumns="*">
+ android:layout_height="wrap_content">
+
+ <TableLayout
+ android:id="@+id/eventsTable"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:isScrollContainer="true"
+ android:scrollbars="vertical"
+ android:stretchColumns="*">
+
+ <TableRow android:background="@color/colorPrimary">
+
+ <TextView
+ android:paddingHorizontal="@dimen/padding"
+ android:text="@string/table_datetime"
+ android:textColor="@color/background"
+ android:padding="@dimen/padding" />
+
+ <TextView
+ android:paddingHorizontal="@dimen/padding"
+ android:text="@string/table_event"
+ android:textColor="@color/background"
+ android:padding="@dimen/padding" />
+
+ <TextView
+ android:paddingHorizontal="@dimen/padding"
+ android:text="@string/table_geofence"
+ android:textColor="@color/background"
+ android:padding="@dimen/padding" />
- <TableRow android:background="@color/colorPrimary">
+ <TextView
+ android:paddingHorizontal="@dimen/padding"
+ android:text="@string/table_address"
+ android:textColor="@color/background"
+ android:padding="@dimen/padding" />
- <TextView
- android:paddingHorizontal="@dimen/padding"
- android:text="@string/table_event"
- android:textColor="@color/background" />
+ </TableRow>
- <TextView
- android:paddingHorizontal="@dimen/padding"
- android:text="@string/table_datetime"
- android:textColor="@color/background" />
+ </TableLayout>
- </TableRow>
+ </HorizontalScrollView>
- </TableLayout>
</ScrollView>
<LinearLayout