summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/pie_control.xml60
-rw-r--r--res/xml/system_settings.xml5
2 files changed, 65 insertions, 0 deletions
diff --git a/res/xml/pie_control.xml b/res/xml/pie_control.xml
new file mode 100644
index 000000000..5b3cab7de
--- /dev/null
+++ b/res/xml/pie_control.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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"
+ android:title="@string/pie_control_title"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
+
+ <CheckBoxPreference
+ android:key="pie_control_checkbox"
+ android:title="@string/pie_control_title"
+ android:defaultValue="false" />
+
+ <CheckBoxPreference
+ android:key="pie_control_search"
+ android:title="@string/pie_control_search_title"
+ android:defaultValue="false" />
+
+ <com.android.settings.cyanogenmod.PieSizePreference
+ android:key="pie_control_size"
+ android:title="@string/pie_control_size"
+ android:dialogTitle="@string/pie_control_size" />
+
+ <PreferenceCategory
+ android:title="@string/pie_control_trigger_positions">
+
+ <CheckBoxPreference
+ android:key="pie_control_trigger_left"
+ android:title="@string/pie_control_trigger_left"
+ android:defaultValue="false" />
+
+ <CheckBoxPreference
+ android:key="pie_control_trigger_bottom"
+ android:title="@string/pie_control_trigger_bottom"
+ android:defaultValue="false" />
+
+ <CheckBoxPreference
+ android:key="pie_control_trigger_right"
+ android:title="@string/pie_control_trigger_right"
+ android:defaultValue="false" />
+
+ <CheckBoxPreference
+ android:key="pie_control_trigger_top"
+ android:title="@string/pie_control_trigger_top"
+ android:summary="@string/pie_control_trigger_top_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/res/xml/system_settings.xml b/res/xml/system_settings.xml
index 200976754..a95446fd8 100644
--- a/res/xml/system_settings.xml
+++ b/res/xml/system_settings.xml
@@ -64,6 +64,11 @@
android:fragment="com.android.settings.cyanogenmod.HardwareKeys"
android:title="@string/hardware_keys_title" />
+ <PreferenceScreen
+ android:key="pie_control"
+ android:fragment="com.android.settings.cyanogenmod.PieControl"
+ android:title="@string/pie_control_title" />
+
<PreferenceCategory
android:key="navigation_bar_category"
android:title="@string/navigation_bar_category" >