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

Commit 11b9b76f authored by jasonwshsu's avatar jasonwshsu
Browse files

Truncated labels for related tool name in Hearing Devices dialog

Root Cause: Labels for feature names are truncating instead of breaking into a new line.

Solution: Allow name to have maximum 3 lines.

Bug: 345280109
Test: open Hearing Devices dialog via quick settings to ensure it will not truncate
Flag: EXEMPT resource only update
Change-Id: Ic18f1207db128c9756e4b5ea0362e1c37097b9a4
parent f7de2512
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:gravity="center"
    android:gravity="top|center_horizontal"
    android:focusable="true"
    android:clickable="true"
    android:layout_weight="1">
@@ -46,8 +46,8 @@
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/hearing_devices_layout_margin"
        android:ellipsize="end"
        android:maxLines="1"
        android:textSize="12sp"
        android:maxLines="3"
        android:textAppearance="@style/TextAppearance.Dialog.Body.Message"
        android:focusable="false" />
</LinearLayout>
 No newline at end of file