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

Commit 11aa56e4 authored by Shamali P's avatar Shamali P
Browse files

Add maxlines bounds to the category title.

- So far, none of the translations exceeded 1-line, but setting maxlines
to avoid it to happen in future.

* http://screen/35PYFHV5SCeBhqC (at max font size)

Bug: N/A
Flag: ACONFIG com.android.launcher3.enable_categorized_widget_suggestions TEAMFOOD
Test: Manual - see videos.
Change-Id: I263706a5d85dd4a37a4150abd58222283d5e039a
parent 962b3d43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@
        android:textColor="?attr/widgetPickerTitleColor"
        android:textFontWeight="500"
        android:textSize="16sp"
        android:maxLines="1"
        android:paddingHorizontal="8dp"
        android:ellipsize="end"
        android:visibility="gone" />
    <!-- Shown when there are more than one pages -->
    <com.android.launcher3.pageindicators.PageIndicatorDots