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

Commit 36bd8966 authored by jasonwshsu's avatar jasonwshsu
Browse files

Fix strings in Hearing Devices dialog that have RTL issue

Root Cause: Some strings come from remote device that can not be
translated need to also follow RTL direction by locale

Solution: Add textDirection='locale' for those strings

Fix: 344066132
Test: Change language to 'ar' to verify RTL is expected.
Flag: EXEMPT resources only update
Change-Id: I63013fdf26855315eaa7105fe49b612ef15b7165
parent 1fb17d23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,4 +22,5 @@
    android:minHeight="@dimen/hearing_devices_preset_spinner_height"
    android:paddingStart="@dimen/hearing_devices_preset_spinner_text_padding_start"
    android:gravity="center_vertical"
    android:textDirection="locale"
    android:ellipsize="end" />
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
        android:fontFamily="@*android:string/config_headlineFontFamilyMedium"
        android:textSize="14sp"
        android:gravity="center_vertical"
        android:textDirection="locale"
        android:layout_weight="1" />
    <TextView
        android:id="@+id/hearing_devices_preset_option_text"
@@ -42,5 +43,6 @@
        android:gravity="center_vertical"
        android:ellipsize="end"
        android:maxLines="1"
        android:textDirection="locale"
        android:layout_weight="1" />
</LinearLayout>
 No newline at end of file