summaryrefslogtreecommitdiff
path: root/android/source/res
diff options
context:
space:
mode:
authorMert Tümer <merttumer7@gmail.com>2018-01-08 13:15:21 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-01-15 22:31:57 +0100
commit2733ca6c0aed6468c26fd7a80b0b50e32fd608c4 (patch)
treea1887103c798b44793541f02d1957492701441d7 /android/source/res
parent55ecc98376dbeffc366820e718fd906b8935a17b (diff)
tdf#103083 option to show/hide hidden files/folders on Android
The patch was sent for the ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: Iadbb688a1a976279b23d246001818ac1c21b3d47 Reviewed-on: https://gerrit.libreoffice.org/47637 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'android/source/res')
-rw-r--r--android/source/res/values/strings.xml2
-rw-r--r--android/source/res/xml/libreoffice_preferences.xml5
2 files changed, 7 insertions, 0 deletions
diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml
index 1fb23a528c06..9b6ff7abff9c 100644
--- a/android/source/res/values/strings.xml
+++ b/android/source/res/values/strings.xml
@@ -49,6 +49,8 @@
<string name="pref_category_general">General</string>
<string name="pref_experimental_editing">Experimental Mode</string>
<string name="pref_experimental_editing_summary">Enable the experimental editing mode. Use at your own risk.</string>
+ <string name="pref_show_hidden_files">Hidden Files/Folders</string>
+ <string name="pref_show_hidden_files_summary">Enable to show hidden files/folders</string>
<string name="action_about">About</string>
<string name="action_parts">Parts</string>
diff --git a/android/source/res/xml/libreoffice_preferences.xml b/android/source/res/xml/libreoffice_preferences.xml
index 347709b7d017..17236434daa2 100644
--- a/android/source/res/xml/libreoffice_preferences.xml
+++ b/android/source/res/xml/libreoffice_preferences.xml
@@ -20,6 +20,11 @@
android:title="File explorer layout"
android:key="EXPLORER_VIEW_TYPE"
android:summary="View files as a grid or in a list." />
+ <CheckBoxPreference
+ android:title="@string/pref_show_hidden_files"
+ android:key="ENABLE_SHOW_HIDDEN_FILES"
+ android:summary="@string/pref_show_hidden_files_summary"
+ android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_category_general"