aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/menu
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-14 18:25:26 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-14 18:25:26 -0600
commit7c3e13114fd189c49e86b8d6c200ffb3c27bb498 (patch)
tree9024ba5e810b40c22eeb2065e3d22650aa51d54e /androidApp/src/main/res/menu
parente10c55888fede23b225dee03044f6953e997c28b (diff)
downloadetbsa-trackermap-mobile-7c3e13114fd189c49e86b8d6c200ffb3c27bb498.tar.gz
etbsa-trackermap-mobile-7c3e13114fd189c49e86b8d6c200ffb3c27bb498.tar.bz2
etbsa-trackermap-mobile-7c3e13114fd189c49e86b8d6c200ffb3c27bb498.zip
Refactored reports code into ReportController.kt and added extra report periods
Diffstat (limited to 'androidApp/src/main/res/menu')
-rw-r--r--androidApp/src/main/res/menu/report_period_options.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/androidApp/src/main/res/menu/report_period_options.xml b/androidApp/src/main/res/menu/report_period_options.xml
index cf54ec3..60fb58c 100644
--- a/androidApp/src/main/res/menu/report_period_options.xml
+++ b/androidApp/src/main/res/menu/report_period_options.xml
@@ -3,15 +3,31 @@
xmlns:android="http://schemas.android.com/apk/res/android">
<item
- android:id="@+id/dayOption"
- android:title="@string/day_period" />
+ android:id="@+id/optionToday"
+ android:title="@string/period_today" />
<item
- android:id="@+id/weekOption"
- android:title="@string/week_period" />
+ android:id="@+id/optionLast24"
+ android:title="@string/period_last_24" />
<item
- android:id="@+id/monthOption"
- android:title="@string/month_period" />
+ android:id="@+id/optionYesterday"
+ android:title="@string/period_yesterday" />
+
+ <item
+ android:id="@+id/optionWeek"
+ android:title="@string/period_this_week" />
+
+ <item
+ android:id="@+id/optionLast7"
+ android:title="@string/period_last_7" />
+
+ <item
+ android:id="@+id/optionMonth"
+ android:title="@string/period_this_month" />
+
+ <item
+ android:id="@+id/optionLast30"
+ android:title="@string/period_last_30" />
</menu> \ No newline at end of file