aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-13 20:22:36 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-13 20:22:36 -0600
commit5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab (patch)
treefdf5444004231bf276054e9d513007d67f9ece77 /androidApp/src/main/res
parentfeef38c8d9befd5dbd53bea22725f7922138df2d (diff)
downloadetbsa-trackermap-mobile-5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab.tar.gz
etbsa-trackermap-mobile-5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab.tar.bz2
etbsa-trackermap-mobile-5bd8ab38cd1549b267ff93fd1ea93f1c0ca9d8ab.zip
Implemented base for exporting XLSX reports
Diffstat (limited to 'androidApp/src/main/res')
-rw-r--r--androidApp/src/main/res/layout/unit_details_reports.xml7
-rw-r--r--androidApp/src/main/res/values-es-rMX/strings.xml1
-rw-r--r--androidApp/src/main/res/values/strings.xml1
3 files changed, 9 insertions, 0 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_reports.xml b/androidApp/src/main/res/layout/unit_details_reports.xml
index dc649e4..0a8e23d 100644
--- a/androidApp/src/main/res/layout/unit_details_reports.xml
+++ b/androidApp/src/main/res/layout/unit_details_reports.xml
@@ -102,10 +102,17 @@
android:id="@+id/periodButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginEnd="@dimen/fields_spacing"
android:text="@string/select_period"
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
diff --git a/androidApp/src/main/res/values-es-rMX/strings.xml b/androidApp/src/main/res/values-es-rMX/strings.xml
index 6aee861..0b4f4b3 100644
--- a/androidApp/src/main/res/values-es-rMX/strings.xml
+++ b/androidApp/src/main/res/values-es-rMX/strings.xml
@@ -81,6 +81,7 @@
<string name="month_period">Mes</string>
<string name="period">Periodo</string>
<string name="select_period">Seleccionar</string>
+ <string name="export_report">Exportar</string>
<string name="table_event">Evento</string>
<string name="table_datetime">Fecha y hora</string>
diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml
index 5f39ce1..268f5d5 100644
--- a/androidApp/src/main/res/values/strings.xml
+++ b/androidApp/src/main/res/values/strings.xml
@@ -102,6 +102,7 @@
<string name="month_period">Month</string>
<string name="period">Period</string>
<string name="select_period">Select</string>
+ <string name="export_report">Export</string>
<string name="table_event">Event</string>
<string name="table_datetime">Datetime</string>