diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/cm_strings.xml | 5 | ||||
-rw-r--r-- | res/xml/display_settings.xml | 19 |
2 files changed, 18 insertions, 6 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 787083f..d80f8d7 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -940,4 +940,9 @@ two in order to insert additional control points. \'Remove\' deletes the selecte <string name="power_notifications_ringtone_title">Notification sound</string> <!-- Sound settings, power notifications label for ringtone == none --> <string name="power_notifications_ringtone_silent">Silent</string> + + <!-- Display Screen-on and off Electron beam animations --> + <string name="screen_off_animation_title">Screen-off animation</string> + <string name="screen_off_animation_summary">Show the electron beam animation when the screen is turned off</string> + </resources> diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml index ed88399..b0b92d1 100644 --- a/res/xml/display_settings.xml +++ b/res/xml/display_settings.xml @@ -59,14 +59,21 @@ android:title="@string/wifi_display_settings_title" android:fragment="com.android.settings.wfd.WifiDisplaySettings" /> + <CheckBoxPreference + android:key="screen_off_animation" + android:title="@string/screen_off_animation_title" + android:summary="@string/screen_off_animation_summary" + android:defaultValue="true" /> + <PreferenceCategory android:key="category_wakeup_options" - android:title="@string/display_category_wakeup_options_title"/> + android:title="@string/display_category_wakeup_options_title" > - <CheckBoxPreference - android:key="pref_volume_wake" - android:title="@string/pref_volume_wake_title" - android:summary="@string/pref_volume_wake_summary" - android:defaultValue="false" /> + <CheckBoxPreference + android:key="pref_volume_wake" + android:title="@string/pref_volume_wake_title" + android:summary="@string/pref_volume_wake_summary" + android:defaultValue="false" /> + </PreferenceCategory> </PreferenceScreen> |