forked from upstream-mirrors/quik
Use switches instead of checkboxes
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_night_auto_summary"
|
||||
android:title="@string/pref_night_auto"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<Preference
|
||||
android:defaultValue="6:00"
|
||||
android:dependency="pref_key_night_auto"
|
||||
@@ -64,13 +64,13 @@
|
||||
android:key="pref_key_status_tint"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_status_tint"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_navigation_tint"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_navigation_tint"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
@@ -108,21 +108,21 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_hide_avatar_conversations_summary"
|
||||
android:title="@string/pref_hide_avatar_conversations"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_hide_avatar_sent"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_hide_avatar_sent_summary"
|
||||
android:title="@string/pref_hide_avatar_sent"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_hide_avatar_received"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_hide_avatar_received_summary"
|
||||
android:title="@string/pref_hide_avatar_received"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
@@ -134,20 +134,20 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_message_count_summary"
|
||||
android:title="@string/pref_message_count"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_sliding_tab"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_sliding_tab_summary"
|
||||
android:title="@string/pref_sliding_tab"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_24h"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_24h_summary"
|
||||
android:title="@string/pref_24h"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -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>
|
||||
@@ -11,21 +11,21 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_compose_group_summary"
|
||||
android:title="@string/pref_compose_group"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<!--<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_auto_download"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_auto_download_summary"
|
||||
android:title="@string/pref_auto_download"
|
||||
android:widgetLayout="@layout/view_checkbox" />-->
|
||||
android:widgetLayout="@layout/view_switch" />-->
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_auto_data"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_auto_data_summary"
|
||||
android:title="@string/pref_auto_data"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<PreferenceCategory
|
||||
android:layout="@layout/list_item_preference_category"
|
||||
android:title="@string/pref_category_sending_mms">
|
||||
@@ -35,7 +35,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_long_as_mms_summary"
|
||||
android:title="@string/pref_long_as_mms"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="3"
|
||||
android:dependency="pref_key_long_as_mms"
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
android:key="pref_key_notifications"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_notifications"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:dependency="pref_key_notifications"
|
||||
android:key="pref_key_led"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_led"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<Preference
|
||||
android:defaultValue="-48060"
|
||||
android:dependency="pref_key_led"
|
||||
@@ -30,7 +30,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_wake_summary"
|
||||
android:title="@string/pref_wake"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="@bool/preL"
|
||||
android:dependency="pref_key_notifications"
|
||||
@@ -38,7 +38,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_ticker_summary"
|
||||
android:title="@string/pref_ticker"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<ListPreference
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/notification_private_options"
|
||||
@@ -54,7 +54,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_vibration_summary"
|
||||
android:title="@string/pref_vibration"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<RingtonePreference
|
||||
android:defaultValue="content://settings/system/notification_sound"
|
||||
android:dependency="pref_key_notifications"
|
||||
@@ -70,7 +70,7 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_notification_call_summary"
|
||||
android:title="@string/pref_notification_call"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:dependency="pref_key_notifications"
|
||||
@@ -78,6 +78,6 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_dismiss_read_summary"
|
||||
android:title="@string/pref_dimiss_read"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -10,6 +10,6 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_quickcompose_summary"
|
||||
android:title="@string/pref_quickcompose"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -10,13 +10,13 @@
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_quickreply_enabled_summary"
|
||||
android:title="@string/pref_quickreply_enabled"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_quickreply_dismiss"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_tap_to_quit_summary"
|
||||
android:title="@string/pref_tap_to_quit"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -34,21 +34,21 @@
|
||||
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_delivery"
|
||||
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="false"
|
||||
android:key="pref_key_compose_group"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_compose_group_summary"
|
||||
android:title="@string/pref_compose_group"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
@@ -59,14 +59,14 @@
|
||||
android:key="pref_key_notifications"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_notifications"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:dependency="pref_key_notifications"
|
||||
android:key="pref_key_led"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:title="@string/pref_led"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
android:widgetLayout="@layout/view_switch" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user