Merge "Vertically center adjacent buttons in App Info screen."
This commit is contained in:
committed by
Android (Google) Code Review
commit
154305019c
@@ -29,9 +29,10 @@
|
|||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/left_button"
|
android:id="@+id/left_button"
|
||||||
android:layout_width="150dip"
|
android:layout_width="140dip"
|
||||||
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"/>
|
||||||
<!-- Spacer -->
|
<!-- Spacer -->
|
||||||
<View
|
<View
|
||||||
android:id="@+id/buttons_spacer_left"
|
android:id="@+id/buttons_spacer_left"
|
||||||
@@ -41,8 +42,9 @@
|
|||||||
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="150dip"
|
android:layout_width="140dip"
|
||||||
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"
|
||||||
|
android:layout_gravity="center_vertical"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user