aboutsummaryrefslogtreecommitdiff
path: root/doze/res/xml
diff options
context:
space:
mode:
authorcryscript <cryscript@gmail.com>2017-03-22 00:55:15 +0100
committerdavidevinavil <davidevinavil@gmail.com>2017-04-07 13:31:38 +0200
commit9a59a172b1a78cf0feeaf6edeec0dfecb6f87491 (patch)
treea50f505607e2a9d2396f2a04019f317a3319de3e /doze/res/xml
parent85b0f69ad2714c1d94e6142eb5505d73dc8c569a (diff)
z2_plus: Add doze
Diffstat (limited to 'doze/res/xml')
-rw-r--r--doze/res/xml/doze_settings.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
new file mode 100644
index 0000000..dfa608b
--- /dev/null
+++ b/doze/res/xml/doze_settings.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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">
+
+ <SwitchPreference
+ android:key="ambient_display"
+ android:defaultValue="true"
+ android:title="@string/ambient_display_title"
+ android:summary="@string/ambient_display_summary" />
+
+ <PreferenceCategory
+ android:key="tilt_sensor"
+ android:title="@string/tilt_sensor_title" >
+
+ <SwitchPreference
+ android:key="pick_up"
+ android:defaultValue="false"
+ android:title="@string/pick_up_title"
+ android:summary="@string/pick_up_summary"
+ android:dependency="ambient_display" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="priximity_sensor"
+ android:title="@string/priximity_sensor_title" >
+
+ <SwitchPreference
+ android:key="gesture_hand_wave"
+ android:defaultValue="false"
+ android:title="@string/hand_wave_gesture_title"
+ android:summary="@string/hand_wave_gesture_summary"
+ android:dependency="ambient_display" />
+
+ <SwitchPreference
+ android:key="gesture_pocket"
+ android:defaultValue="false"
+ android:title="@string/pocket_gesture_title"
+ android:summary="@string/pocket_gesture_summary"
+ android:dependency="ambient_display" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>