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

Commit 58c46417 authored by Edgar Wang's avatar Edgar Wang
Browse files

Allow the title of preference display in 2 lines

After discussed with UX, we think that is necessery for localization.
So we set the max_line to 2.

Bug: 189495817
Test: change language and manual test
Change-Id: I269a22af37e9edb14de46f9ac245da07b8e2a228
parent a2daf95d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
            android:id="@android:id/title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:maxLines="2"
            android:textAppearance="?android:attr/textAppearanceListItem"
            android:ellipsize="marquee"/>

+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
            android:id="@android:id/title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:maxLines="2"
            android:textAppearance="?android:attr/textAppearanceListItem"
            android:ellipsize="marquee"/>

+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@
                android:id="@android:id/title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:singleLine="true"
                android:maxLines="2"
                android:textAppearance="?android:attr/textAppearanceListItem"
                android:ellipsize="marquee" />

+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
                android:id="@android:id/title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:singleLine="true"
                android:maxLines="2"
                android:textAppearance="?android:attr/textAppearanceListItem"
                android:ellipsize="marquee" />

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
        <TextView android:id="@android:id/title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:maxLines="2"
            android:textAppearance="?android:attr/textAppearanceListItem"
            android:ellipsize="marquee" />