OSDN Git Service

Merge "Eleven: Checkboxes to switches" into cm-12.1
authorAbhisek Devkota <ciwrl@cyanogenmod.com>
Mon, 20 Apr 2015 21:24:01 +0000 (21:24 +0000)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Mon, 20 Apr 2015 21:24:01 +0000 (21:24 +0000)
res/xml/settings.xml

index be29c00..f68f8c4 100644 (file)
     <PreferenceCategory android:title="@string/settings_general_category" >
 
         <!-- Music visualizer -->
-        <CheckBoxPreference
+        <SwitchPreference
             android:defaultValue="true"
             android:key="music_visualization"
             android:title="@string/settings_show_music_visualization_title" />
 
         <!-- Show Lyrics -->
-        <CheckBoxPreference
+        <SwitchPreference
             android:defaultValue="true"
             android:key="show_lyrics"
             android:title="@string/settings_show_lyrics_title"
             android:summary="@string/settings_show_lyrics_summary"/>
 
         <!-- Shake to switch songs -->
-        <CheckBoxPreference
+        <SwitchPreference
             android:defaultValue="false"
             android:key="shake_to_play"
             android:title="@string/settings_shake_to_play"
             android:summary="@string/settings_shake_to_play_summary"/>
 
         <!-- Show album art on lockscreen -->
-        <CheckBoxPreference
+        <SwitchPreference
             android:defaultValue="true"
             android:key="lockscreen_album_art"
             android:title="@string/settings_lockscreen_album_art"