diff options
author | Amith Yamasani <yamasani@google.com> | 2011-08-22 15:06:57 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-08-22 15:06:57 -0700 |
commit | 78545348fd82ddcbcd5f3e95668be282c49e93cd (patch) | |
tree | 95ffefa989838846f6af3b163236e7c67963dec8 /res | |
parent | bfd76c67cb7e630ca5b9bb9ce7a05997e9744883 (diff) | |
download | packages_apps_settings-78545348fd82ddcbcd5f3e95668be282c49e93cd.zip packages_apps_settings-78545348fd82ddcbcd5f3e95668be282c49e93cd.tar.gz packages_apps_settings-78545348fd82ddcbcd5f3e95668be282c49e93cd.tar.bz2 |
Reduce the minimum size of buttons in App details screen.
The earlier reduction was not sufficient for all cases.
If the min width is totally removed, it makes the buttons too
small in portrait, causing wrapping. Forcing to 0.5 weight will
make it too wide in landscape.
Change-Id: I02a71a065f14d5f75bea68aab25c8b16941589e9
Diffstat (limited to 'res')
-rwxr-xr-x | res/layout/two_buttons_panel.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/two_buttons_panel.xml b/res/layout/two_buttons_panel.xml index e2f57a0..5d76312 100755 --- a/res/layout/two_buttons_panel.xml +++ b/res/layout/two_buttons_panel.xml @@ -29,7 +29,7 @@ android:orientation="horizontal"> <Button android:id="@+id/left_button" - android:layout_width="140dip" + android:layout_width="120dip" android:layout_weight="0.4" android:layout_height="wrap_content" android:layout_gravity="center_vertical"/> @@ -42,7 +42,7 @@ android:layout_weight="0.2" /> <Button android:id="@+id/right_button" - android:layout_width="140dip" + android:layout_width="120dip" android:text="@string/cancel" android:layout_weight="0.4" android:layout_height="wrap_content" |