aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-20 01:26:29 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-20 01:26:29 -0600
commitecc818705b9b523dbd1a85f017d14ba0d017849b (patch)
tree556f1c62fb22ad0bc85720985a0fcc1137989e96 /androidApp/src/main/res/layout
parent5472556161c2f781e7a0dabe48301f3b665641b1 (diff)
downloadetbsa-trackermap-mobile-ecc818705b9b523dbd1a85f017d14ba0d017849b.tar.gz
etbsa-trackermap-mobile-ecc818705b9b523dbd1a85f017d14ba0d017849b.tar.bz2
etbsa-trackermap-mobile-ecc818705b9b523dbd1a85f017d14ba0d017849b.zip
Properly implemented save and share report actions
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_details_reports.xml31
1 files changed, 25 insertions, 6 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml
index f53ce51..903c2c3 100644
--- a/androidApp/src/main/res/layout/unit_details_reports.xml
+++ b/androidApp/src/main/res/layout/unit_details_reports.xml
@@ -106,12 +106,6 @@
android:textColor="@color/colorPrimaryDark"
app:backgroundTint="@color/darkBackground" />
- <com.google.android.material.button.MaterialButton
- android:id="@+id/exportButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/export_report" />
-
</LinearLayout>
<com.addisonelliott.segmentedbutton.SegmentedButtonGroup
@@ -159,6 +153,31 @@
</com.addisonelliott.segmentedbutton.SegmentedButtonGroup>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="@dimen/margin">
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/exportButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/export_report"
+ android:layout_weight="1"
+ android:layout_marginEnd="@dimen/fields_spacing"
+ style="?android:buttonStyleSmall"/>
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/shareButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/share_report"
+ style="?android:buttonStyleSmall"/>
+
+ </LinearLayout>
+
</LinearLayout>
<include