Adjust the margins for the volume seekbars.
Bug: 5165547
Change-Id: Ic82c03a4b39895f872bfd8ef4e46c795502f78a4
diff --git a/res/layout/preference_dialog_ringervolume.xml b/res/layout/preference_dialog_ringervolume.xml
index 66067b3..2c83f12 100644
--- a/res/layout/preference_dialog_ringervolume.xml
+++ b/res/layout/preference_dialog_ringervolume.xml
@@ -68,8 +68,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="2dip"
- android:paddingLeft="12dip"
- android:paddingRight="20dip" />
+ android:layout_marginRight="@dimen/volume_seekbar_side_margin" />
</LinearLayout>
<!-- Used for the ringer/notification volume -->
@@ -109,8 +108,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="2dip"
- android:paddingLeft="12dip"
- android:paddingRight="20dip" />
+ android:layout_marginRight="@dimen/volume_seekbar_side_margin" />
</LinearLayout>
</LinearLayout>
@@ -152,8 +150,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="2dip"
- android:paddingLeft="12dip"
- android:paddingRight="20dip" />
+ android:layout_marginRight="@dimen/volume_seekbar_side_margin" />
</LinearLayout>
</LinearLayout>
@@ -187,8 +184,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="2dip"
- android:paddingLeft="12dip"
- android:paddingRight="20dip" />
+ android:layout_marginRight="@dimen/volume_seekbar_side_margin" />
</LinearLayout>
</LinearLayout>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 4b576eb..dbe4c32 100755
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -30,4 +30,6 @@
<dimen name="data_usage_chart_height">220dip</dimen>
<dimen name="data_usage_chart_optimalWidth">440dip</dimen>
+
+ <dimen name="volume_seekbar_side_margin">8dip</dimen>
</resources>