Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefan-niedermann <info@niedermann.it>2019-09-27 22:16:45 +0300
committerstefan-niedermann <info@niedermann.it>2019-09-27 22:16:45 +0300
commit002427e3c40c91273ee5fbfda28741337fe00959 (patch)
treed81cc9080c2792988dcf22583b994a8cc1016b88 /app/src/main/res/xml
parent030c06aa15a76964e69a20afaaa9c18de11ead68 (diff)
Introduce "Sync on wifi only"-settings
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/settings.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
new file mode 100644
index 000000000..59ad3d4a6
--- /dev/null
+++ b/app/src/main/res/xml/settings.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreference
+ android:defaultValue="@string/pref_value_wifi_and_mobile"
+ android:icon="@drawable/ic_sync_grey600_24dp"
+ android:key="@string/pref_key_wifi_only"
+ android:title="@string/pref_value_wifi_only" />
+
+</PreferenceScreen>