Commit 5836a9ba authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Remove SwitchBoxPreference in 2.x

parent 47dc1c1f
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory android:title="@string/general_prefs_category" >
<PreferenceScreen
android:key="directories"
android:summary="@string/directories_summary"
android:title="@string/directories" />
<ListPreference
android:defaultValue="-1"
android:entries="@array/hardware_acceleration_list"
android:entryValues="@array/hardware_acceleration_values"
android:key="hardware_acceleration"
android:summary="@string/hardware_acceleration_summary"
android:title="@string/hardware_acceleration" />
<CheckBoxPreference
android:defaultValue="false"
android:key="video_background"
android:summary="@string/play_as_audio_background_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/play_as_audio_background" />
<SwitchPreference
android:defaultValue="false"
android:key="enable_black_theme"
android:summary="@string/enable_black_theme_summary"
android:title="@string/enable_black_theme" />
<ListPreference
android:defaultValue=""
android:entries="@array/subtitles_encoding_list"
android:entryValues="@array/subtitles_encoding_values"
android:key="subtitle_text_encoding"
android:persistent="true"
android:title="@string/subtitle_text_encoding" />
<ListPreference
android:defaultValue="4"
android:entries="@array/screen_orientation_list"
android:entryValues="@array/screen_orientation_values"
android:key="screen_orientation"
android:title="@string/screen_orientation" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/extra_prefs_category" >
<PreferenceScreen
android:title="@string/interface_prefs_screen"
android:key="ui_category" >
<PreferenceCategory android:title="@string/interface_secondary_display_category" >
<Preference android:summary="@string/interface_secondary_display_category_summary" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_clone_mode"
android:summary="@string/enable_clone_mode_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_clone_mode" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/interface_other_category" >
<CheckBoxPreference
android:defaultValue="false"
android:key="dialog_confirm_resume"
android:summary="@string/confirm_resume_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/confirm_resume_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="force_list_portrait"
android:summary="@string/force_list_portrait_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/force_list_portrait" />
<CheckBoxPreference
android:defaultValue="true"
android:key="enable_brightness_gesture"
android:summary="@string/enable_brightness_gesture_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_brightness_gesture" />
<CheckBoxPreference
android:defaultValue="true"
android:key="enable_headset_detection"
android:summary="@string/enable_headset_detection_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_headset_detection" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_steal_remote_control"
android:summary="@string/enable_steal_remote_control_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_steal_remote_control" />
<ListPreference
android:defaultValue="0"
android:entries="@array/audio_title_alignment_list"
android:entryValues="@array/audio_title_alignment_values"
android:key="audio_title_alignment"
android:persistent="true"
android:title="@string/audio_title_alignment" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen android:title="@string/performance_prefs_category" >
<PreferenceCategory android:title="@string/performance_prefs_category" >
<ListPreference
android:defaultValue=""
android:entries="@array/chroma_formats"
android:entryValues="@array/chroma_formats_values"
android:key="chroma_format"
android:summary="@string/chroma_format_summary"
android:title="@string/chroma_format" />
<ListPreference
android:defaultValue="-1"
android:entries="@array/deblocking_list"
android:entryValues="@array/deblocking_values"
android:key="deblocking"
android:summary="@string/deblocking_summary"
android:title="@string/deblocking" />
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_frame_skip"
android:summary="@string/enable_frame_skip_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_frame_skip" />
<CheckBoxPreference
android:defaultValue="@bool/time_stretching_default"
android:key="enable_time_stretching_audio"
android:summary="@string/enable_time_stretching_audio_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_time_stretching_audio" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen android:title="@string/advanced_prefs_category" >
<PreferenceCategory android:key="advanced_prefs_group"
android:title="@string/advanced_prefs_category" >
<ListPreference
android:key="aout"
android:summary="@string/aout_summary"
android:title="@string/aout" />
<!--<ListPreference-->
<!--android:key="vout"-->
<!--android:summary="@string/vout_summary"-->
<!--android:title="@string/vout" />-->
<CheckBoxPreference
android:defaultValue="true"
android:key="auto_rescan"
android:title="@string/auto_rescan"
android:summary="@string/auto_rescan_summary"
android:widgetLayout="@layout/custom_chexbox" />
<Preference
android:enabled="true"
android:key="clear_media_db"
android:title="@string/clear_media_db" />
<PreferenceScreen
android:key="clear_history"
android:title="@string/clear_history" />
<EditTextPreference
android:defaultValue=""
android:key="set_locale"
android:summary="@string/set_locale_detail"
android:title="@string/set_locale" />
<EditTextPreference
android:defaultValue=""
android:key="network_caching"
android:maxLength="5"
android:summary="@string/network_caching_summary"
android:title="@string/network_caching" />
<Preference
android:enabled="true"
android:key="quit_app"
android:title="@string/quit" />
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen android:title="@string/developer_prefs_category" >
<PreferenceCategory android:title="@string/developer_prefs_category" >
<ListPreference
android:defaultValue="-1"
android:entries="@array/dev_hardware_decoder_list"
android:entryValues="@array/dev_hardware_decoder_values"
android:key="dev_hardware_decoder"
android:summary="@string/dev_hardware_decoder_summary"
android:title="@string/dev_hardware_decoder" />
<CheckBoxPreference
android:defaultValue="true"
android:key="enable_verbose_mode"
android:summary="@string/enable_verbose_mode_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_verbose_mode" />
<PreferenceScreen
android:key="debug_logs"
android:title="@string/debug_logs" />
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>
......@@ -21,10 +21,11 @@
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/play_as_audio_background" />
<SwitchPreference
<CheckBoxPreference
android:defaultValue="false"
android:key="enable_black_theme"
android:summary="@string/enable_black_theme_summary"
android:widgetLayout="@layout/custom_chexbox"
android:title="@string/enable_black_theme" />
<ListPreference
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment