From 0bd445b974292dc3910b6bb85dcee7e7c378968f Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Thu, 3 Dec 2009 00:31:59 -0800 Subject: b/2296110 New Dialog which appears when phone is place on dock. Change-Id: I58b216ee9b4ca9ce16210309358c0512271e128e --- res/layout/remember_dock_setting.xml | 24 ++++++++++++++++++++++ res/values/strings.xml | 17 +++++++++++++++- res/xml/sound_and_display_settings.xml | 37 ++++++++++++++++------------------ 3 files changed, 57 insertions(+), 21 deletions(-) create mode 100644 res/layout/remember_dock_setting.xml (limited to 'res') diff --git a/res/layout/remember_dock_setting.xml b/res/layout/remember_dock_setting.xml new file mode 100644 index 0000000..a19ca7c --- /dev/null +++ b/res/layout/remember_dock_setting.xml @@ -0,0 +1,24 @@ + + + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 85ca4d4..42905fe 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -643,6 +643,19 @@ Use for file transfer + + Dock Settings + + Use dock for audio + + As speaker phone + + For music and media + + Remember settings + + "Change with Settings under Sound & display > Dock audio + Wi-Fi @@ -895,7 +908,9 @@ Set volume for music and videos - Dock settings + Dock audio + + Audio settings for the attached dock Audible touch tones diff --git a/res/xml/sound_and_display_settings.xml b/res/xml/sound_and_display_settings.xml index 151b0fb..1ffbdbf 100644 --- a/res/xml/sound_and_display_settings.xml +++ b/res/xml/sound_and_display_settings.xml @@ -4,9 +4,9 @@ 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. @@ -16,7 +16,7 @@ - + @@ -50,12 +50,9 @@ - - + android:title="@string/dock_settings_title" + android:summary="@string/dock_settings_summary" + android:widgetLayout="@*android:layout/preference_dialog" /> - + - + - - - @@ -158,7 +155,7 @@ android:summary="@string/brightness_summary" android:dialogIcon="@drawable/ic_popup_brightness" android:dialogTitle="@string/brightness" /> - + - + -- cgit v1.1