summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authornebkat <nebkat@gmail.com>2011-11-27 21:34:20 +0000
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-11-19 01:06:35 +0000
commit27e6c89dbc5bed177baa5d27409cf464b1858312 (patch)
tree3d4345b91939e938faaa99de42a5c2713525a978 /res
parent7dcb25f19af1b09f958de211f3506042fb4407ff (diff)
downloadpackages_apps_trebuchet-27e6c89dbc5bed177baa5d27409cf464b1858312.zip
packages_apps_trebuchet-27e6c89dbc5bed177baa5d27409cf464b1858312.tar.gz
packages_apps_trebuchet-27e6c89dbc5bed177baa5d27409cf464b1858312.tar.bz2
Preferences: initial Preferences Activity, Provider and XML
Change-Id: I27d44993c4e34e08cfafff6d7a418df7c4f06fd2
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml25
-rw-r--r--res/xml/preferences.xml48
2 files changed, 73 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2fa1778..794a636 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -153,6 +153,8 @@ s -->
<string name="menu_notifications">Notifications</string>
<!-- Noun, menu item used to show the system settings -->
<string name="menu_settings">System settings</string>
+ <!-- Noun, menu item used to show the launcher preferences -->
+ <string name="menu_preferences">Preferences</string>
<!-- Noun, menu item used to show help. [CHAR_LIMIT=none] -->
<string name="menu_help">Help</string>
@@ -278,4 +280,27 @@ s -->
<!-- Dummy string [CHAR_LIMIT=60] -->
<string name="custom_workspace_cling_description_2"></string>
+ <skip />
+ <!-- -->
+ <!-- Preferences -->
+ <!-- -->
+ <string name="preferences_title">Preferences</string>
+ <!-- UI -->
+ <string name="preferences_interface_title">Interface</string>
+ <!-- General -->
+ <string name="preferences_general_title">General</string>
+
+ <!-- UI -->
+ <!-- Homescreen -->
+ <string name="preferences_interface_homescreen_title">Homescreen</string>
+
+ <!-- Drawer -->
+ <string name="preferences_interface_drawer_title">Drawer</string>
+
+ <!-- Dock -->
+ <string name="preferences_interface_dock_title">Dock</string>
+
+ <!-- Icons -->
+ <string name="preferences_interface_icons_title">Icons</string>
+
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
new file mode 100644
index 0000000..6679751
--- /dev/null
+++ b/res/xml/preferences.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source 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">
+ <!-- UI -->
+ <PreferenceCategory android:title="@string/preferences_interface_title">
+ <!-- Homescreen -->
+ <PreferenceScreen android:key="ui_homescreen"
+ android:title="@string/preferences_interface_homescreen_title">
+
+ </PreferenceScreen>
+
+ <!-- Drawer -->
+ <PreferenceScreen android:key="ui_drawer"
+ android:title="@string/preferences_interface_drawer_title">
+
+ </PreferenceScreen>
+
+ <!-- Dock -->
+ <PreferenceScreen android:key="ui_dock"
+ android:title="@string/preferences_interface_dock_title">
+
+ </PreferenceScreen>
+
+ <!-- Icons -->
+ <PreferenceScreen android:key="ui_icons"
+ android:title="@string/preferences_interface_icons_title">
+
+ </PreferenceScreen>
+ </PreferenceCategory>
+
+ <!-- General -->
+ <PreferenceCategory android:title="@string/preferences_general_title">
+ </PreferenceCategory>
+</PreferenceScreen>