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>
This commit is contained in:
kaishu-sahu
2019-02-03 01:44:20 +05:30
committed by Jan Holesovsky
parent a10cfc4865
commit 193bfbd1c3

View File

@@ -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"
/>