summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-01-18 23:42:44 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-01-18 23:42:44 -0800
commit39c3d10bfccd74b26b045e3d6a712d282fba88d8 (patch)
tree6541086449719f46663e5fbb985df2a597c4be76 /res
parent3b7ffa5eeff9fddbbfdf3c8bdff4b19b1eb7a4df (diff)
parent0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a (diff)
downloadpackages_apps_settings-39c3d10bfccd74b26b045e3d6a712d282fba88d8.zip
packages_apps_settings-39c3d10bfccd74b26b045e3d6a712d282fba88d8.tar.gz
packages_apps_settings-39c3d10bfccd74b26b045e3d6a712d282fba88d8.tar.bz2
am 0e2ab4f8: New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Merge commit '0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a' into eclair-plus-aosp * commit '0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a': New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml4
-rw-r--r--res/xml/dock_settings.xml29
-rw-r--r--res/xml/settings.xml11
-rw-r--r--res/xml/sound_and_display_settings.xml7
4 files changed, 42 insertions, 9 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index cb1a08d..9b6977d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -953,8 +953,8 @@
<!-- Dock not found dialog title -->
<string name="dock_not_found_title">Dock not found</string>
<!-- Dock not found dialog text -->
- <string name="dock_not_found_text">You must dock the phone to configure audio settings for that dock</string>
-
+ <string name="dock_not_found_text">The phone must be docked to configure dock audio</string>
+
<!-- Acounts & Sync settings screen setting option name to go into the screen for data sync settings-->
<string name="sync_settings">Accounts &amp; sync</string>
<!-- Main Settings screen setting option summary text for the itme to go into the screen with data sync settings-->
diff --git a/res/xml/dock_settings.xml b/res/xml/dock_settings.xml
new file mode 100644
index 0000000..43e9fa5
--- /dev/null
+++ b/res/xml/dock_settings.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/dock_settings_title"
+ android:key="parent">
+
+ <PreferenceScreen
+ android:key="dock_audio"
+ android:title="@string/dock_audio_settings_title"
+ android:summary="@string/dock_settings_summary"
+ android:widgetLayout="@*android:layout/preference_dialog" />
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 79a777d..0fe502e 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -133,6 +133,17 @@
android:targetClass="com.android.settings.LanguageSettings" />
</com.android.settings.IconPreferenceScreen>
+ <!-- Dock -->
+
+ <com.android.settings.IconPreferenceScreen
+ android:key="dock_settings"
+ android:title="@string/dock_settings">
+ <intent
+ android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.DockSettings" />
+ </com.android.settings.IconPreferenceScreen>
+
<!-- Accessibility feedback -->
<com.android.settings.IconPreferenceScreen
diff --git a/res/xml/sound_and_display_settings.xml b/res/xml/sound_and_display_settings.xml
index 1ffbdbf..657a340 100644
--- a/res/xml/sound_and_display_settings.xml
+++ b/res/xml/sound_and_display_settings.xml
@@ -47,13 +47,6 @@
android:order="3"
android:streamType="music" />
- <PreferenceScreen
- android:key="dock_settings"
- android:order="4"
- android:title="@string/dock_settings_title"
- android:summary="@string/dock_settings_summary"
- android:widgetLayout="@*android:layout/preference_dialog" />
-
<com.android.settings.DefaultRingtonePreference
android:key="ringtone"
android:title="@string/ringtone_title"