aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/time_format_preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml/time_format_preferences.xml')
-rw-r--r--app/src/main/res/xml/time_format_preferences.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/src/main/res/xml/time_format_preferences.xml b/app/src/main/res/xml/time_format_preferences.xml
new file mode 100644
index 00000000..a6080d32
--- /dev/null
+++ b/app/src/main/res/xml/time_format_preferences.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="show_elapsed_time"
+ app:title="@string/settings_show_elapsed_time" />
+
+ <ListPreference
+ app:defaultValue="MMM d, yyyy, HH:mm"
+ app:entries="@array/settings_time_format"
+ app:entryValues="@array/settings_time_format_values"
+ app:key="time_format"
+ app:title="@string/settings_time_format_title"
+ app:useSimpleSummaryProvider="true" />
+</PreferenceScreen> \ No newline at end of file