diff options
author | Isidro Henoch <imhenoch@protonmail.com> | 2021-12-28 20:40:04 -0600 |
---|---|---|
committer | Isidro Henoch <imhenoch@protonmail.com> | 2021-12-28 20:40:04 -0600 |
commit | 1c2761ac6bf1b3bb6e78fc3466c09aa6f0492de0 (patch) | |
tree | 2866445a813b486e544fe0183287435f0b72ebc2 /androidApp/src/main/res/layout | |
parent | 085b644ef248be85ef16550917e9c705e02b8f85 (diff) | |
download | etbsa-trackermap-mobile-1c2761ac6bf1b3bb6e78fc3466c09aa6f0492de0.tar.gz etbsa-trackermap-mobile-1c2761ac6bf1b3bb6e78fc3466c09aa6f0492de0.tar.bz2 etbsa-trackermap-mobile-1c2761ac6bf1b3bb6e78fc3466c09aa6f0492de0.zip |
Diaplays the events report
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r-- | androidApp/src/main/res/layout/unit_details_reports.xml | 56 |
1 files changed, 52 insertions, 4 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml index d0c50e5..e39f279 100644 --- a/androidApp/src/main/res/layout/unit_details_reports.xml +++ b/androidApp/src/main/res/layout/unit_details_reports.xml @@ -5,14 +5,62 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + <View + android:id="@+id/reportMap" + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constraintBottom_toTopOf="@id/periodSection" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:layout_margin="@dimen/margin" + android:visibility="gone" + android:background="@color/darkBackground"/> + + <ScrollView + android:id="@+id/eventsScroll" + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constraintBottom_toTopOf="@id/periodSection" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:layout_margin="@dimen/margin" + android:visibility="gone"> + <TableLayout + android:id="@+id/eventsTable" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:stretchColumns="*" + android:scrollbars="vertical" + android:isScrollContainer="true"> + + <TableRow android:background="@color/colorPrimary"> + + <TextView + android:paddingHorizontal="@dimen/padding" + android:text="@string/table_event" + android:textColor="@color/background" /> + + <TextView + android:paddingHorizontal="@dimen/padding" + android:text="@string/table_datetime" + android:textColor="@color/background" /> + + </TableRow> + + </TableLayout> + </ScrollView> + <LinearLayout + android:id="@+id/periodSection" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_margin="@dimen/margin" android:orientation="vertical" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - android:layout_margin="@dimen/margin"> + app:layout_constraintStart_toStartOf="parent"> <LinearLayout android:layout_width="match_parent" @@ -23,10 +71,10 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" + android:gravity="center_vertical" android:text="@string/period" android:textColor="@color/colorPrimaryDark" - android:textSize="22sp" - android:gravity="center_vertical"/> + android:textSize="22sp" /> <com.google.android.material.button.MaterialButton android:id="@+id/periodButton" |