aboutsummaryrefslogtreecommitdiff
path: root/doze/res/xml
diff options
context:
space:
mode:
authorFedor917 <cryscript@gmail.com>2016-10-26 00:02:15 +0700
committerFedor917 <cryscript@gmail.com>2016-10-26 00:02:15 +0700
commit4a6f194ca90f6975820d22008fd93af691957cef (patch)
treea88ccfadec9c524a6f5404a2a9ad52dd42c9f563 /doze/res/xml
parent514fff9c46d0e960ce1f57d6d38de6a15f6501f4 (diff)
Initial commit
Diffstat (limited to 'doze/res/xml')
-rw-r--r--doze/res/xml/doze_settings.xml72
1 files changed, 72 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..09e27b5
--- /dev/null
+++ b/doze/res/xml/doze_settings.xml
@@ -0,0 +1,72 @@
+<?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" />
+
+ <SwitchPreference
+ android:key="tilt_always"
+ android:defaultValue="false"
+ android:title="@string/always_enabled_title"
+ android:summary="@string/always_enabled_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" />
+
+ <SwitchPreference
+ android:key="proximity_always"
+ android:defaultValue="false"
+ android:title="@string/always_enabled_title"
+ android:summary="@string/always_enabled_summary"
+ android:dependency="ambient_display" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>