Use SwitchPreference more often
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="search_keyserver_pref"
|
||||
android:summary="@string/pref_keyserver_summary"
|
||||
@@ -12,7 +12,7 @@
|
||||
android:persistent="false"
|
||||
android:title="@string/label_keyservers" />
|
||||
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="search_keybase_pref"
|
||||
android:summary="@string/pref_keybase_summary"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="useTorProxy"
|
||||
android:persistent="true"
|
||||
android:title="@string/pref_proxy_tor_title"
|
||||
android:summary="@string/pref_proxy_tor_summary" />
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="useNormalProxy"
|
||||
android:persistent="true"
|
||||
android:title="@string/pref_proxy_normal_title" />
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="syncKeyserver"
|
||||
android:persistent="false"
|
||||
android:title="@string/label_sync_settings_keyserver_title"/>
|
||||
<CheckBoxPreference
|
||||
<SwitchPreference
|
||||
android:key="syncContacts"
|
||||
android:persistent="false"
|
||||
android:title="@string/label_sync_settings_contacts_title" />
|
||||
|
||||
Reference in New Issue
Block a user