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

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schaal <daniel@schaal.email>2015-06-27 11:47:00 +0300
committerDaniel Schaal <daniel@schaal.email>2015-07-19 09:29:38 +0300
commitf00330d3d9d1db282d50e8763109d7314e1a712f (patch)
treebfaaab3654aafdc96a41ab56a64da7426bf0036e /News-Android-App/src/main/res/xml
parentc91871cdba78734bab94f28731500b9dd2b3f4e8 (diff)
Use SwitchPreference in Settings
Diffstat (limited to 'News-Android-App/src/main/res/xml')
-rw-r--r--News-Android-App/src/main/res/xml/pref_data_sync.xml2
-rw-r--r--News-Android-App/src/main/res/xml/pref_general.xml14
-rw-r--r--News-Android-App/src/main/res/xml/pref_notification.xml6
3 files changed, 11 insertions, 11 deletions
diff --git a/News-Android-App/src/main/res/xml/pref_data_sync.xml b/News-Android-App/src/main/res/xml/pref_data_sync.xml
index d33a8a47..03c8d0c6 100644
--- a/News-Android-App/src/main/res/xml/pref_data_sync.xml
+++ b/News-Android-App/src/main/res/xml/pref_data_sync.xml
@@ -54,7 +54,7 @@
android:title="@string/pref_title_CacheImagesOffline" />
<!--
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_cacheImagesOffline"
android:title="@string/pref_title_CacheImagesOffline" />
-->
diff --git a/News-Android-App/src/main/res/xml/pref_general.xml b/News-Android-App/src/main/res/xml/pref_general.xml
index 1deb00ef..daeed237 100644
--- a/News-Android-App/src/main/res/xml/pref_general.xml
+++ b/News-Android-App/src/main/res/xml/pref_general.xml
@@ -1,7 +1,7 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<!--
- <CheckBoxPreference
+ <SwitchPreference
android:defaultValue="true"
android:key="example_checkbox"
android:summary="@string/pref_description_social_recommendations"
@@ -48,29 +48,29 @@
-->
<!--
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_AllowAllSSLCertificates"
android:title="@string/pref_title_AllowAllSSLCertificates" />
-->
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_AutoSyncOnStart"
android:title="@string/pref_title_AutoSyncOnStart" />
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_ShowOnlyUnread"
android:title="@string/pref_title_ShowOnlyUnread" />
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_NavigateWithVolumeButtons"
android:title="@string/pref_title_NavigateWithVolumeButtons" />
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_MarkAsReadWhileScrolling"
android:title="@string/pref_title_MarkAsReadWhileScrolling" />
- <CheckBoxPreference
+ <SwitchPreference
android:key="cb_openInBrowserDirectly"
android:title="@string/pref_title_OpenInBrowserDirectly" />
diff --git a/News-Android-App/src/main/res/xml/pref_notification.xml b/News-Android-App/src/main/res/xml/pref_notification.xml
index ea9d72c7..b251a987 100644
--- a/News-Android-App/src/main/res/xml/pref_notification.xml
+++ b/News-Android-App/src/main/res/xml/pref_notification.xml
@@ -1,6 +1,6 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
- <CheckBoxPreference
+ <SwitchPreference
android:defaultValue="true"
android:key="cb_showNotificationNewArticles"
android:title="@string/pref_title_notification_new_articles_available" />
@@ -9,7 +9,7 @@
A 'parent' preference, which enables/disables child preferences (below)
when checked/unchecked.
-->
-<!-- <CheckBoxPreference
+<!-- <SwitchPreference
android:defaultValue="true"
android:key="notifications_new_message"
android:title="@string/pref_title_new_message_notifications" />
@@ -25,7 +25,7 @@
android:title="@string/pref_title_ringtone" />
-->
<!-- NOTE: This preference will be enabled only when the checkbox above is checked. -->
-<!-- <CheckBoxPreference
+<!-- <SwitchPreference
android:defaultValue="true"
android:dependency="notifications_new_message"
android:key="notifications_new_message_vibrate"