Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5339333 authored by Steven Ng's avatar Steven Ng
Browse files

Set max 2 lines for buttons shown in AddItemActivity

Fix: 192620445
Test: Manual
Change-Id: I6ad9b408c17aa81d714143cdaef63da95b0729dc
parent 277eb6fe
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -81,9 +81,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"/>
@@ -95,9 +97,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"/>