diff options
author | Amith Yamasani <yamasani@google.com> | 2011-08-10 17:10:04 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-08-10 17:10:04 -0700 |
commit | f63942e6863125ec24360aff3752e39c73372233 (patch) | |
tree | fafafafc7380895be7fd3c067792c421b071034e /res/layout/preference_dialog_ringervolume.xml | |
parent | ce477dbd8305fbe4f615f760556f9f42293ef27a (diff) | |
download | packages_apps_Settings-f63942e6863125ec24360aff3752e39c73372233.zip packages_apps_Settings-f63942e6863125ec24360aff3752e39c73372233.tar.gz packages_apps_Settings-f63942e6863125ec24360aff3752e39c73372233.tar.bz2 |
Fix mute toggle behavior in Volume dialog.
Adjust some padding and alignment.
Bug: 5128528
Fix highlighted entry when using Battery shortcut.
Bug: 5099767
Change-Id: I830dbb40b0b8a6448d33b2be2c36b9b80ff14bc4
Diffstat (limited to 'res/layout/preference_dialog_ringervolume.xml')
-rw-r--r-- | res/layout/preference_dialog_ringervolume.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/res/layout/preference_dialog_ringervolume.xml b/res/layout/preference_dialog_ringervolume.xml index 4944f91..66067b3 100644 --- a/res/layout/preference_dialog_ringervolume.xml +++ b/res/layout/preference_dialog_ringervolume.xml @@ -59,7 +59,7 @@ <ImageView android:id="@+id/media_mute_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dip" + android:padding="16dip" android:background="?android:attr/selectableItemBackground" /> @@ -68,7 +68,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:paddingTop="2dip" - android:paddingLeft="20dip" + android:paddingLeft="12dip" android:paddingRight="20dip" /> </LinearLayout> @@ -100,7 +100,7 @@ <ImageView android:id="@+id/ringer_mute_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dip" + android:padding="16dip" android:background="?android:attr/selectableItemBackground" /> @@ -109,7 +109,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:paddingTop="2dip" - android:paddingLeft="20dip" + android:paddingLeft="12dip" android:paddingRight="20dip" /> </LinearLayout> @@ -143,7 +143,7 @@ <ImageView android:id="@+id/notification_mute_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dip" + android:padding="16dip" android:background="?android:attr/selectableItemBackground" /> @@ -152,7 +152,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:paddingTop="2dip" - android:paddingLeft="20dip" + android:paddingLeft="12dip" android:paddingRight="20dip" /> </LinearLayout> @@ -173,12 +173,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="8dip" - android:orientation="horizontal"> + android:orientation="horizontal" + android:gravity="center_vertical"> <ImageView android:id="@+id/alarm_mute_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="8dip" + android:padding="16dip" android:background="?android:attr/selectableItemBackground" /> <SeekBar android:id="@+id/alarm_volume_seekbar" @@ -186,7 +187,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:paddingTop="2dip" - android:paddingLeft="20dip" + android:paddingLeft="12dip" android:paddingRight="20dip" /> </LinearLayout> |