From 546738888395565ac2d5fe2cfb941ecdd0c1df45 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Mon, 11 Apr 2022 00:55:26 -0500 Subject: - [shared] Added DateUtils 'expect' class for platform-specific date format. - [android] Redesigned reports view, now supports custom reports! - [ios] Not rewritten yet, it won't build! --- .../src/main/res/layout/unit_details_reports.xml | 413 +++++++++++++-------- 1 file changed, 258 insertions(+), 155 deletions(-) (limited to 'androidApp/src/main/res/layout/unit_details_reports.xml') diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml index 903c2c3..c29e4b0 100644 --- a/androidApp/src/main/res/layout/unit_details_reports.xml +++ b/androidApp/src/main/res/layout/unit_details_reports.xml @@ -1,194 +1,297 @@ - - - - - - - + android:layout_height="match_parent" + xmlns:tools="http://schemas.android.com/tools"> - + + - + + + + + - + - + - + - + - + - + - + - + - + + + + + + + + + + app:behavior_hideable="false" + app:behavior_peekHeight="@dimen/bottom_sheet_peak" + app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" + style="@style/BottomSheetCardStyle"> + android:orientation="vertical"> - - - + android:layout_marginBottom="@dimen/margin" + android:orientation="horizontal"> - + + - - - - - - - + + + + + + + + + + + + + + android:orientation="horizontal"> - + - + + - + + android:gravity="center_vertical" + android:weightSum="2" + android:orientation="horizontal"> + + + + - + + + + + + + + + + + + + + android:orientation="horizontal" + android:layout_marginTop="@dimen/margin"> - + + + - + + + - + - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3