Set the minimum height to the CheckBox
Root Cause: Touch target of "container" is too small, reported by accessibility scanner. Suggest to enlarge bigger than 48dp. Solution: Set the minimum height to the CheckBox layout. If the container text in CheckBox is bigger than 48dp, it will follow the layout_height="wrap_content". Bug: 168264410 Test: manual test Change-Id: I50362baefd692e6bfbef1778eb2a5b72dd35ab7a
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="48dp"
|
||||
android:background="@null"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
|
||||
Reference in New Issue
Block a user