summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorkaishu-sahu <kaishusahu101@gmail.com>2019-02-03 01:44:20 +0530
committerJan Holesovsky <kendy@collabora.com>2019-04-05 19:43:02 +0200
commit193bfbd1c368c602b28a706eac367b776f2942d6 (patch)
treeb56e17cda36c4a37174d1a99e362db2328b3360f /android
parenta10cfc4865da9a1a5da0090f0a65dfb62c7010e2 (diff)
android: Setting default values to setting preference, minor ux improvements
Change-Id: I356871429f2e26d9d34e0e1428334a4d2287b683 Reviewed-on: https://gerrit.libreoffice.org/67295 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'android')
-rw-r--r--android/source/res/xml/libreoffice_preferences.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/source/res/xml/libreoffice_preferences.xml b/android/source/res/xml/libreoffice_preferences.xml
index 5541c29ff3d4..cf1d306866cf 100644
--- a/android/source/res/xml/libreoffice_preferences.xml
+++ b/android/source/res/xml/libreoffice_preferences.xml
@@ -8,12 +8,14 @@
android:summary="@string/pref_filter_summary"
android:entries="@array/FilterTypeNames"
android:entryValues="@array/FilterTypeStringValues"
+ android:defaultValue="-1"
android:key="FILTER_MODE"/>
<ListPreference
android:summary="@string/pref_sort_summary"
android:key="SORT_MODE"
android:title="@string/pref_sort_title"
android:entries="@array/SortModeNames"
+ android:defaultValue="0"
android:entryValues="@array/SortModeStringValues"/>
<ListPreference
android:entries="@array/ViewModeNames"
@@ -28,6 +30,7 @@
android:summary="@string/display_language_summary"
android:entries="@array/SupportedLanguages"
android:entryValues="@array/SupportedLanguagesValues"
+ android:defaultValue="en"
android:key="DISPLAY_LANGUAGE"
/>