diff options
author | brainbreaker <gautamprajapati06@gmail.com> | 2017-02-09 18:29:06 +0530 |
---|---|---|
committer | Aleksandar Stefanović <theonewithideas@gmail.com> | 2017-02-10 20:37:37 +0000 |
commit | a68d00189988c2ed8a5ed246af60a1c967449a2e (patch) | |
tree | 1cad77bb2260027576a4aba45cf7745d6bc9fc71 /android | |
parent | e387b69967aabc44d5da5aaad8d94191437dc57c (diff) |
Default Value added to File Explorer View Preference
Change-Id: Ibbca76cae7fb189d94c37397ad49e9cff2755cd2
Reviewed-on: https://gerrit.libreoffice.org/34082
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/res/values/strings.xml | 2 | ||||
-rw-r--r-- | android/source/res/xml/libreoffice_preferences.xml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml index 6bdbe26eef85..197aeabd3e45 100644 --- a/android/source/res/values/strings.xml +++ b/android/source/res/values/strings.xml @@ -20,6 +20,7 @@ <string name="menu_search">Search</string> <string name="list_view">List</string> <string name="grid_view">Grid</string> + <string name="GRID_VIEW_INTEGER">0</string> <string name="filter">Filter by</string> <string name="sort">Sort by</string> <string name="sort_smallest">Smallest first</string> @@ -111,4 +112,5 @@ <string name="no_save_document">NO</string> + </resources> diff --git a/android/source/res/xml/libreoffice_preferences.xml b/android/source/res/xml/libreoffice_preferences.xml index 4d80f2815cf3..5dd5a7074e9b 100644 --- a/android/source/res/xml/libreoffice_preferences.xml +++ b/android/source/res/xml/libreoffice_preferences.xml @@ -16,6 +16,7 @@ <ListPreference android:entries="@array/ViewModeNames" android:entryValues="@array/ViewModeStringValues" + android:defaultValue="@string/GRID_VIEW_INTEGER" android:title="Default File Explorer View" android:key="EXPLORER_VIEW_TYPE" android:summary="View files as a grid or in a list."/> |