Extend conditional button width so it has more click area.
Bug: 30822058
Change-Id: I88a88c7807309741113e4b5557686c08261eb5d0
(cherry picked from commit 40b56b4c15
)
This commit is contained in:
@@ -103,18 +103,22 @@
|
|||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/first_action"
|
android:id="@+id/first_action"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
android:paddingStart="0dp"
|
android:paddingStart="0dp"
|
||||||
android:alpha=".8"
|
android:alpha=".8"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||||
style="?android:attr/buttonBarButtonStyle" />
|
style="?android:attr/buttonBarButtonStyle" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/second_action"
|
android:id="@+id/second_action"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
android:alpha=".8"
|
android:alpha=".8"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||||
style="?android:attr/buttonBarButtonStyle" />
|
style="?android:attr/buttonBarButtonStyle" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user