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

Commit fee9c266 authored by jasonwshsu's avatar jasonwshsu
Browse files

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
parent 1ae5e59c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"