diff options
Diffstat (limited to 'res/xml/notification_drawer.xml')
-rw-r--r-- | res/xml/notification_drawer.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/res/xml/notification_drawer.xml b/res/xml/notification_drawer.xml new file mode 100644 index 0000000..6b6d689 --- /dev/null +++ b/res/xml/notification_drawer.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<PreferenceScreen + xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- Notification drawer behaviour --> + <PreferenceCategory + android:title="@string/notification_drawer_behaviour_title"> + + <ListPreference + android:key="notification_drawer_collapse_on_dismiss" + android:title="@string/notification_drawer_collapse_on_dismiss_title" + android:dialogTitle="@string/notification_drawer_collapse_on_dismiss_title" + android:entries="@array/notification_drawer_collapse_on_dismiss_entries" + android:entryValues="@array/notification_drawer_collapse_on_dismiss_values" /> + + </PreferenceCategory> + + <!-- Notification drawer Power Widget --> + <PreferenceCategory + android:title="@string/power_widget_title"> + + <CheckBoxPreference + android:key="expanded_widget" + android:title="@string/title_expanded_widget" + android:defaultValue="false" /> + + <PreferenceScreen + android:key="widget_picker" + android:title="@string/title_widget_picker" + android:summary="@string/summary_widget_picker" + android:dependency="expanded_widget" + android:fragment="com.android.settings.cyanogenmod.NotificationDrawer$PowerWidgetChooser"> + </PreferenceScreen> + + <PreferenceScreen + android:key="widget_order" + android:title="@string/title_widget_order" + android:summary="@string/summary_widget_order" + android:dependency="expanded_widget" + android:fragment="com.android.settings.cyanogenmod.NotificationDrawer$PowerWidgetOrder"> + </PreferenceScreen> + + <CheckBoxPreference + android:key="expanded_hide_onchange" + android:title="@string/title_expanded_hide_onchange" + android:defaultValue="false" + android:dependency="expanded_widget" /> + + <CheckBoxPreference + android:key="expanded_hide_scrollbar" + android:title="@string/title_expanded_hide_scrollbar" + android:defaultValue="false" + android:dependency="expanded_widget" /> + + <ListPreference + android:key="expanded_haptic_feedback" + android:dialogTitle="@string/expanded_haptic_feedback_title" + android:title="@string/expanded_haptic_feedback_title" + android:entries="@array/haptic_feedback_entries" + android:entryValues="@array/haptic_feedback_values" + android:dependency="expanded_widget" /> + + </PreferenceCategory> + +</PreferenceScreen> |