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

Commit b7219cb1 authored by Peter_Liang's avatar Peter_Liang
Browse files

Fixing the title of Talback was not aligned to the right under Arabic in a11y short menu.

Solution:
Fine-tine layout layers to prevent the title of Accessibility service from LTR or RTL issue.

Bug: 158818391
Test: manual test
Change-Id: I4f281e94f507cd6021402c1fe53b584ce7bdfcde
parent 88869b18
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -39,15 +39,20 @@
        android:layout_height="48dp"
        android:scaleType="fitCenter"/>

    <TextView
        android:id="@+id/accessibility_shortcut_target_label"
    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_weight="1"
        android:layout_weight="1">

        <TextView
            android:id="@+id/accessibility_shortcut_target_label"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:textColor="?attr/textColorPrimary"
            android:fontFamily="sans-serif-medium"/>
    </LinearLayout>

    <TextView
        android:id="@+id/accessibility_shortcut_target_status"