Fix alignment for the instant app button.

- wrap the secondary button in the FrameLayout to make it align properly
with the primary button.

Change-Id: I6964bc67773a77eae551521747c19898a2f22210
Fixes: 69562807
Test: visual
This commit is contained in:
Doris Ling
2018-03-13 14:38:33 -07:00
parent ceaa6c5a0b
commit 9e04a917b6

View File

@@ -48,11 +48,16 @@
<Space
android:layout_width="16dp"
android:layout_height="wrap_content" />
<Button
android:id="@+id/clear_data"
<FrameLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:text="@string/clear_instant_app_data"/>
android:layout_height="wrap_content">
<Button
android:id="@+id/clear_data"
style="@style/ActionSecondaryButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:text="@string/clear_instant_app_data"/>
</FrameLayout>
</LinearLayout>