Accessibility changes for radio button on clocks
This CL sets the important for a11y attribute on radio buttons to be
false which makes sure that they aren't individually selectable when
user has enabled talkback.
Bug: b/280937148
Test: Tested by building and installing picker, and enabling talkback
service.
Change-Id: I97008dd9573b279568bcec50ccc2f5b3f3705668
diff --git a/res/layout/clock_size_radio_button_group.xml b/res/layout/clock_size_radio_button_group.xml
index 5e8fcf5..4e7d1b4 100644
--- a/res/layout/clock_size_radio_button_group.xml
+++ b/res/layout/clock_size_radio_button_group.xml
@@ -32,7 +32,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="8dp"
- android:clickable="false" />
+ android:clickable="false"
+ android:importantForAccessibility="no"/>
<LinearLayout
android:layout_width="match_parent"
@@ -71,7 +72,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="8dp"
- android:clickable="false" />
+ android:clickable="false"
+ android:importantForAccessibility="no"/>
<LinearLayout
android:layout_width="match_parent"