Closes #1172: Make RadioButton in RadioButtonPreference non focusable.

This tells TalkBack not to land on the button individually, but instead
to land on the parent View. TalkBack users will get both the button
state and the textual description. Double tapping should work too.
This commit is contained in:
Eitan Isaacson 2019-04-02 14:00:10 -07:00 committed by Colin Lee
parent be347d87f8
commit 9092edaa3e

View File

@ -28,6 +28,7 @@
android:layout_gravity="start"
android:button="@null"
android:clickable="false"
android:focusable="false"
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
android:drawablePadding="@dimen/radio_button_preference_drawable_padding"/>