diff options
author | Jim Miller <jaggies@google.com> | 2011-06-21 14:13:10 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-06-28 12:56:39 -0700 |
commit | 212fc5650acb560307813ab16dfb31da014d3629 (patch) | |
tree | 616b26752371f1cff94e8d35a1fa86da2b739dd1 /res/values/styles.xml | |
parent | 2b74a839e029228370be93aafa283774bfcb90fa (diff) | |
download | packages_apps_Settings-212fc5650acb560307813ab16dfb31da014d3629.zip packages_apps_Settings-212fc5650acb560307813ab16dfb31da014d3629.tar.gz packages_apps_Settings-212fc5650acb560307813ab16dfb31da014d3629.tar.bz2 |
Fix 4686480: Cleanup LockScreen settings
This fix updates the style for buttons to better conform to the screen
by using weightSums.
It also makes layouts much more flexible across platforms by making
better use of the square aspect feature of LockPatternView.
Change-Id: I63677790bf0ac52707c8c356540ecd5dc50ca33b
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r-- | res/values/styles.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 2e3c1d9..130fa03 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -126,13 +126,15 @@ </style> <style name="SecurityPreferenceButtonContainer" parent="@android:style/Holo.SegmentedButton"> - <item name="android:layout_width">wrap_content</item> + <item name="android:layout_width">match_parent</item> <item name="android:layout_height">wrap_content</item> + <item name="android:weightSum">2</item> <item name="android:dividerPadding">8dip</item> </style> <style name="SecurityPreferenceButton" parent="@android:style/Widget.Holo.Button.Borderless"> - <item name="android:layout_width">140dip</item> + <item name="android:layout_width">0dip</item> + <item name="android:layout_weight">1</item> <item name="android:layout_height">wrap_content</item> <item name="android:ellipsize">marquee</item> <item name="android:singleLine">true</item> |