diff options
author | Amith Yamasani <yamasani@google.com> | 2009-12-02 15:47:19 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-02 15:47:19 -0800 |
commit | 1a8cb120b1a2a4df0d23831c3482a545f284ca86 (patch) | |
tree | 8fe55896c704cc701c7e288e93025b54a952eb63 /res | |
parent | e5142b7f61bdb88167cdd5877ea17dd488104814 (diff) | |
parent | e2caf2eefe84418fb1390b24aa24d5ec021438a8 (diff) | |
download | packages_apps_settings-1a8cb120b1a2a4df0d23831c3482a545f284ca86.zip packages_apps_settings-1a8cb120b1a2a4df0d23831c3482a545f284ca86.tar.gz packages_apps_settings-1a8cb120b1a2a4df0d23831c3482a545f284ca86.tar.bz2 |
am e2caf2ee: Merge change I82be95f6 into eclair
Merge commit 'e2caf2eefe84418fb1390b24aa24d5ec021438a8' into eclair-mr2
* commit 'e2caf2eefe84418fb1390b24aa24d5ec021438a8':
Feature #2296147 Settings for Car/Desk Dock on certain devices
Diffstat (limited to 'res')
-rw-r--r-- | res/values/bools.xml | 2 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/xml/sound_and_display_settings.xml | 29 |
3 files changed, 29 insertions, 4 deletions
diff --git a/res/values/bools.xml b/res/values/bools.xml index cc816c0..61cc79e 100644 --- a/res/values/bools.xml +++ b/res/values/bools.xml @@ -18,4 +18,6 @@ <!-- Whether or not there is a notification led that is too intrusive to be pulsing constantly --> <bool name="has_intrusive_led">false</bool> + <!-- Whether or not the dock settings are to be displayed for this device when docked --> + <bool name="has_dock_settings">false</bool> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 28cf1a4..a4b4901 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -882,6 +882,8 @@ <string name="media_volume_title">Media volume</string> <!-- Sound settings screen, setting option summary text --> <string name="media_volume_summary">Set volume for music and videos</string> + <!-- Sound settings screen, dock settings --> + <string name="dock_settings_title">Dock settings</string> <!-- Sound settings screen, setting check box label --> <string name="dtmf_tone_enable_title">Audible touch tones</string> <!-- Sound settings screen, setting option summary text when check box is selected --> diff --git a/res/xml/sound_and_display_settings.xml b/res/xml/sound_and_display_settings.xml index c597a0a..151b0fb 100644 --- a/res/xml/sound_and_display_settings.xml +++ b/res/xml/sound_and_display_settings.xml @@ -19,14 +19,15 @@ <PreferenceCategory android:key="sound_settings" android:title="@string/sound_settings"> - + <CheckBoxPreference android:key="silent" android:title="@string/silent_mode_title" android:summary="@string/silent_mode_summary" android:persistent="false" + android:order="1" android:disableDependentsState="true" /> - + <com.android.settings.RingerVolumePreference android:key="ring_volume" android:title="@string/ring_volume_title" @@ -34,16 +35,28 @@ android:dialogTitle="@string/ring_volume_title" android:persistent="false" android:dependency="silent" + android:order="2" android:streamType="ring" /> - + <VolumePreference android:key="media_volume" android:title="@string/media_volume_title" android:summary="@string/media_volume_summary" android:dialogTitle="@string/media_volume_title" android:persistent="false" + android:order="3" android:streamType="music" /> - + + <PreferenceScreen + android:key="dock_settings" + android:order="4" + android:title="@string/dock_settings_title"> + <intent + android:action="android.intent.action.MAIN" + android:targetPackage="com.android.settings" + android:targetClass="com.android.settings.bluetooth.DockSettingsActivity" /> + </PreferenceScreen> + <com.android.settings.DefaultRingtonePreference android:key="ringtone" android:title="@string/ringtone_title" @@ -51,12 +64,14 @@ android:dialogTitle="@string/ringtone_title" android:persistent="false" android:dependency="silent" + android:order="5" android:ringtoneType="ringtone" /> <CheckBoxPreference android:key="vibrate" android:title="@string/vibrate_title" android:summary="@string/vibrate_summary" + android:order="6" android:persistent="false" /> <com.android.settings.DefaultRingtonePreference @@ -66,12 +81,14 @@ android:dialogTitle="@string/notification_sound_dialog_title" android:dependency="silent" android:persistent="false" + android:order="7" android:ringtoneType="notification" /> <CheckBoxPreference android:key="notification_pulse" android:title="@string/notification_pulse_title" android:summary="@string/notification_pulse_summary" + android:order="8" android:persistent="false" /> <CheckBoxPreference @@ -80,6 +97,7 @@ android:summaryOn="@string/dtmf_tone_enable_summary_on" android:summaryOff="@string/dtmf_tone_enable_summary_off" android:dependency="silent" + android:order="9" android:defaultValue="true" /> <CheckBoxPreference @@ -88,6 +106,7 @@ android:summaryOn="@string/sound_effects_enable_summary_on" android:summaryOff="@string/sound_effects_enable_summary_off" android:dependency="silent" + android:order="10" android:defaultValue="true" /> <CheckBoxPreference @@ -96,6 +115,7 @@ android:summaryOn="@string/haptic_feedback_enable_summary_on" android:summaryOff="@string/haptic_feedback_enable_summary_off" android:dependency="silent" + android:order="11" android:defaultValue="true" /> <CheckBoxPreference @@ -104,6 +124,7 @@ android:summaryOn="@string/play_media_notification_sounds_enable_summary_on" android:summaryOff="@string/play_media_notification_sounds_enable_summary_off" android:dependency="silent" + android:order="12" android:defaultValue="true" /> </PreferenceCategory> |