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

Commit d6f06cf3 authored by Daniel Norman's avatar Daniel Norman
Browse files

cleanup(magnify_ime): Fix the `labelFor` attribute on mag settings panel

This ensures that the screen reader correctly identifies these switches
as "Switch for ...".

Test: manual; interact with the switch in TalkBack
Flag: EXEMPT resource cleanup
Bug: 413441693
Change-Id: Ifc32f3dcaf73a8ea653e33b14c442899932b59db
parent c8d1fe76
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@
            android:layout_marginEnd="@dimen/magnification_setting_view_item_horizontal_spacing"
            android:text="@string/accessibility_magnify_keyboard"
            android:textAppearance="@style/TextAppearance.MagnificationSetting.Title"
            android:labelFor="@id/magnifier_horizontal_lock_switch"
            android:labelFor="@id/magnifier_keyboard_switch"
            android:layout_gravity="center_vertical" />

        <com.google.android.material.materialswitch.MaterialSwitch
@@ -186,7 +186,7 @@
            android:layout_marginEnd="@dimen/magnification_setting_view_item_horizontal_spacing"
            android:text="@string/accessibility_magnify_typing"
            android:textAppearance="@style/TextAppearance.MagnificationSetting.Title"
            android:labelFor="@id/magnifier_horizontal_lock_switch"
            android:labelFor="@id/magnifier_typing_switch"
            android:layout_gravity="center_vertical" />

        <com.google.android.material.materialswitch.MaterialSwitch