Layout tweak for app action buttons

Now shadow is no longer cropped when pressing button

Change-Id: I6ac8588abb75ca23912f62808a57e8402857e18b
Fixes: 62550425
Test: visual
This commit is contained in:
Fan Zhang
2017-07-21 15:06:36 -07:00
parent a7879a83df
commit ee308b950f

View File

@@ -19,8 +19,8 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="bottom" android:gravity="center"
android:paddingTop="4dp" android:paddingTop="8dp"
android:paddingStart="8dp" android:paddingStart="8dp"
android:paddingEnd="8dp" android:paddingEnd="8dp"
android:orientation="horizontal"> android:orientation="horizontal">
@@ -31,8 +31,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_marginBottom="4dp" />
android:paddingEnd="8dp"/>
<Button <Button
android:id="@+id/right_button" android:id="@+id/right_button"
@@ -40,7 +39,6 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_marginBottom="4dp" />
android:paddingStart="8dp"/>
</LinearLayout> </LinearLayout>