summaryrefslogtreecommitdiffstats
path: root/android/source/res/xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
commit940b4d1848e8c70ab7642901a68594e8016caffc (patch)
treeeb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /android/source/res/xml
parentInitial commit. (diff)
downloadlibreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz
libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'android/source/res/xml')
-rw-r--r--android/source/res/xml/documentprovider_preferences.xml38
-rw-r--r--android/source/res/xml/file_paths.xml4
-rw-r--r--android/source/res/xml/libreoffice_preferences.xml59
3 files changed, 101 insertions, 0 deletions
diff --git a/android/source/res/xml/documentprovider_preferences.xml b/android/source/res/xml/documentprovider_preferences.xml
new file mode 100644
index 000000000..bb5f087dd
--- /dev/null
+++ b/android/source/res/xml/documentprovider_preferences.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This file is part of the LibreOffice project.
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ -->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory
+ android:title="@string/owncloud_settings"
+ android:key="pref_key_owncloud_settings">
+ <EditTextPreference
+ android:key="pref_server_url"
+ android:title="@string/server_url"
+ android:summary="@string/server_url_and_port"
+ android:hint="https://server:port/" />
+ <EditTextPreference
+ android:key="pref_user_name"
+ android:title="@string/user_name" />
+ <EditTextPreference
+ android:key="pref_password"
+ android:title="@string/password"
+ android:password="true" />
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:title="@string/physical_storage_settings">
+ <PreferenceScreen
+ android:title="@string/external_sd_path"
+ android:key="pref_extsd_path_uri">
+ </PreferenceScreen>
+ <PreferenceScreen
+ android:title="@string/otg_device_path"
+ android:key="pref_otg_path_uri"
+ android:summary="@string/otg_warning">
+ </PreferenceScreen>
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/android/source/res/xml/file_paths.xml b/android/source/res/xml/file_paths.xml
new file mode 100644
index 000000000..2bbe2aef1
--- /dev/null
+++ b/android/source/res/xml/file_paths.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<paths>
+ <external-path name="LO_files_universal" path="Android/" />
+</paths> \ No newline at end of file
diff --git a/android/source/res/xml/libreoffice_preferences.xml b/android/source/res/xml/libreoffice_preferences.xml
new file mode 100644
index 000000000..d418dd559
--- /dev/null
+++ b/android/source/res/xml/libreoffice_preferences.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+ <PreferenceCategory
+ android:title="@string/pref_category_explorer"
+ android:key="PREF_CATEGORY_EXPLORER">
+ <ListPreference
+ android:title="@string/pref_filter_title"
+ 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"
+ android:entryValues="@array/ViewModeStringValues"
+ android:defaultValue="@integer/grid_view_integer"
+ android:title="@string/pref_file_explorer_title"
+ android:key="EXPLORER_VIEW_TYPE"
+ android:summary="@string/pref_viewmode_summary" />
+
+ <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"
+ android:key="PREF_CATEGORY_GENERAL">
+
+ <ListPreference
+ android:title="@string/display_language"
+ android:summary="@string/display_language_summary"
+ android:entries="@array/SupportedLanguages"
+ android:entryValues="@array/SupportedLanguagesValues"
+ android:defaultValue="SYSTEM_DEFAULT_LANGUAGE"
+ android:key="DISPLAY_LANGUAGE"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/pref_experimental_editing"
+ android:key="ENABLE_EXPERIMENTAL"
+ android:summary="@string/pref_experimental_editing_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:title="@string/pref_developer_mode"
+ android:key="ENABLE_DEVELOPER"
+ android:dependency="ENABLE_EXPERIMENTAL"
+ android:summary="@string/pref_developer_mode_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+</PreferenceScreen>