forked from upstream-mirrors/quik
Use switches instead of checkboxes
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_delayed_summary"
|
||||
android:title="@string/pref_delayed"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="3"
|
||||
android:dependency="pref_key_delayed"
|
||||
@@ -29,7 +29,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_delivery_summary"
|
||||
android:title="@string/pref_delivery"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:dependency="pref_key_delivery"
|
||||
@@ -37,7 +37,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_delivery_toast_summary"
|
||||
android:title="@string/pref_delivery_toast"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:dependency="pref_key_delivery"
|
||||
@@ -45,7 +45,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_delivery_vibrate_summary"
|
||||
android:title="@string/pref_delivery_vibrate"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:layout="@layout/list_item_preference_category"
|
||||
@@ -56,35 +56,35 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_auto_emoji_summary"
|
||||
android:title="@string/pref_auto_emoji"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_markdown_enabled"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_markdown_enabled_summary"
|
||||
android:title="@string/pref_markdown_enabled"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_strip_unicode"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_strip_unicode_summary"
|
||||
android:title="@string/pref_strip_unicode"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_split"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_split_summary"
|
||||
android:title="@string/pref_split"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_split_counter"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_split_counter_summary"
|
||||
android:title="@string/pref_split_counter"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:layout="@layout/list_item_preference_category"
|
||||
@@ -95,7 +95,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_blocked_conversations_summary"
|
||||
android:title="@string/pref_blocked_conversations"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<Preference
|
||||
android:defaultValue="false"
|
||||
android:dependency="pref_key_blocked_enabled"
|
||||
@@ -109,7 +109,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_mobile_only_summary"
|
||||
android:title="@string/pref_mobile_only"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<ListPreference
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/enter_button_options"
|
||||
@@ -124,14 +124,14 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_compose_summary_favorites"
|
||||
android:title="@string/pref_compose_favorites"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_prox_sensor_calling"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_prox_sensor_call_summary"
|
||||
android:title="@string/pref_prox_sensor_call"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<Preference
|
||||
android:key="pref_key_qk_responses"
|
||||
android:layout="@layout/list_item_preference"
|
||||
@@ -143,6 +143,6 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_endlessjabber_summary"
|
||||
android:title="@string/pref_yappy"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user