From 11dc02d1158e0105a95606eecaec6c28a184c5cf Mon Sep 17 00:00:00 2001 From: Angela Wang Date: Wed, 27 Apr 2022 05:27:41 +0000 Subject: [PATCH] Make the checkbox item large enough to click. When checkbox display contents in a single line, the clickable area is less than 48dp and making it hard to click. Setting the minimum height to 48dp can ensure the clickable area is large enough. Bug: 226538268 Test: manual test Change-Id: I341455bc98415bfe9292ff5ba4cf6c2153d487d7 --- res/layout/bluetooth_pin_confirm.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/bluetooth_pin_confirm.xml b/res/layout/bluetooth_pin_confirm.xml index 28ad1f62920..0024ad42413 100644 --- a/res/layout/bluetooth_pin_confirm.xml +++ b/res/layout/bluetooth_pin_confirm.xml @@ -81,6 +81,7 @@ android:id="@+id/phonebook_sharing_message_confirm_pin" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:minHeight="@dimen/min_tap_target_size" android:layout_marginStart="@dimen/bluetooth_dialog_padding" android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />