Vertically center adjacent buttons in App Info screen.
Also reduce the min width of the buttons because the horizontal space available has reduced. Bug: 5156394 Change-Id: Ib7adfa208565503bbf537cb469e7d8feded2c5b8
This commit is contained in:
@@ -29,9 +29,10 @@
|
||||
android:orientation="horizontal">
|
||||
<Button
|
||||
android:id="@+id/left_button"
|
||||
android:layout_width="150dip"
|
||||
android:layout_width="140dip"
|
||||
android:layout_weight="0.4"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
<!-- Spacer -->
|
||||
<View
|
||||
android:id="@+id/buttons_spacer_left"
|
||||
@@ -41,8 +42,9 @@
|
||||
android:layout_weight="0.2" />
|
||||
<Button
|
||||
android:id="@+id/right_button"
|
||||
android:layout_width="150dip"
|
||||
android:layout_width="140dip"
|
||||
android:text="@string/cancel"
|
||||
android:layout_weight="0.4"
|
||||
android:layout_height="wrap_content"/>
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user