aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-20 01:53:52 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-20 01:53:52 -0600
commite5f4e67b85ff42cb116b99a9abb013067a5636ad (patch)
treef9524b126dcbe13ee62edf6eb6b254eb3a0740fe /androidApp/src/main/res/layout
parent1cc7aee5c2ae7d587d9d2e09f0fea3f546ceb27a (diff)
parent84f65df0a794dee2ee21e80f83ed9e589412acc1 (diff)
downloadetbsa-trackermap-mobile-e5f4e67b85ff42cb116b99a9abb013067a5636ad.tar.gz
etbsa-trackermap-mobile-e5f4e67b85ff42cb116b99a9abb013067a5636ad.tar.bz2
etbsa-trackermap-mobile-e5f4e67b85ff42cb116b99a9abb013067a5636ad.zip
Merge branch 'main' of https://git.sr.ht/~avalos/trackermap-mobile
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