[Libreoffice-commits] core.git: android/source

brainbreaker gautamprajapati06 at gmail.com
Fri Feb 10 20:37:59 UTC 2017


 android/source/res/values/strings.xml              |    2 ++
 android/source/res/xml/libreoffice_preferences.xml |    1 +
 2 files changed, 3 insertions(+)

New commits:
commit a68d00189988c2ed8a5ed246af60a1c967449a2e
Author: brainbreaker <gautamprajapati06 at gmail.com>
Date:   Thu Feb 9 18:29:06 2017 +0530

    Default Value added to File Explorer View Preference
    
    Change-Id: Ibbca76cae7fb189d94c37397ad49e9cff2755cd2
    Reviewed-on: https://gerrit.libreoffice.org/34082
    Reviewed-by: Aleksandar Stefanović <theonewithideas at gmail.com>
    Tested-by: Aleksandar Stefanović <theonewithideas at gmail.com>

diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml
index 6bdbe26..197aeab 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 4d80f28..5dd5a70 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."/>


More information about the Libreoffice-commits mailing list