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
This commit is contained in:
Amith Yamasani
2011-08-22 15:06:57 -07:00
parent bfd76c67cb
commit 78545348fd

View File

@@ -29,7 +29,7 @@
android:orientation="horizontal"> android:orientation="horizontal">
<Button <Button
android:id="@+id/left_button" android:id="@+id/left_button"
android:layout_width="140dip" android:layout_width="120dip"
android:layout_weight="0.4" android:layout_weight="0.4"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"/> android:layout_gravity="center_vertical"/>
@@ -42,7 +42,7 @@
android:layout_weight="0.2" /> android:layout_weight="0.2" />
<Button <Button
android:id="@+id/right_button" android:id="@+id/right_button"
android:layout_width="140dip" android:layout_width="120dip"
android:text="@string/cancel" android:text="@string/cancel"
android:layout_weight="0.4" android:layout_weight="0.4"
android:layout_height="wrap_content" android:layout_height="wrap_content"