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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user