summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/display_settings.xml10
-rw-r--r--res/xml/expanded_desktop_prefs.xml26
2 files changed, 36 insertions, 0 deletions
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
index a136203..21c3837 100644
--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -129,6 +129,16 @@
android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
<PreferenceCategory
+ android:key="interface"
+ android:title="@string/category_interface">
+ <!-- expanded desktop -->
+ <PreferenceScreen
+ android:key="expanded_desktop"
+ android:title="@string/power_menu_expanded_desktop"
+ android:fragment="com.android.settings.applications.ExpandedDesktopPreferenceFragment" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
android:key="advanced_display_prefs"
android:title="@string/advanced_settings">
diff --git a/res/xml/expanded_desktop_prefs.xml b/res/xml/expanded_desktop_prefs.xml
new file mode 100644
index 0000000..4a47d8f
--- /dev/null
+++ b/res/xml/expanded_desktop_prefs.xml
@@ -0,0 +1,26 @@
+<?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">
+ <PreferenceCategory
+ android:title="@string/expanded_desktop_title" >
+ <ListPreference
+ android:key="expanded_desktop_style"
+ android:title="@string/expanded_desktop_style"
+ android:entries="@array/expanded_desktop_entries"
+ android:entryValues="@array/expanded_desktop_values"/>
+ </PreferenceCategory>
+</PreferenceScreen> \ No newline at end of file