Merge "Set max 2 lines for buttons shown in AddItemActivity" into sc-v2-dev am: a3b942972f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259635 Change-Id: Idf4ff80836c3d3c7721e36fcd81e294d44b755de
This commit is contained in:
@@ -88,9 +88,11 @@
|
||||
<Button
|
||||
style="@style/Button.FullRounded.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="36dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:textSize="14sp"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/button_text"
|
||||
android:text="@android:string/cancel"
|
||||
android:onClick="onCancelClick"/>
|
||||
@@ -102,9 +104,11 @@
|
||||
<Button
|
||||
style="@style/Button.FullRounded.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="36dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:textSize="14sp"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/button_text"
|
||||
android:text="@string/add_to_home_screen"
|
||||
android:onClick="onPlaceAutomaticallyClick"/>
|
||||
|
||||
Reference in New Issue
Block a user