From cc1b643a79266fa59dcf17916ce808358f3cccc9 Mon Sep 17 00:00:00 2001 From: Avinash Vadlamudi Date: Mon, 15 May 2023 13:58:23 +0000 Subject: [PATCH] [Auto Pin Confirmation]: Increase the touch target of checkbox to 48dp for accessibility Bug: 281945287 Test: Manual test by flashing on device and verifying using layout bounds Change-Id: Ibfbb3f3e7e8307c9ec5c01226c24da10fb5e080a --- res/drawable/checkbox_circle_shape.xml | 49 +++++++++++++++----------- res/layout/choose_lock_password.xml | 1 - 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/res/drawable/checkbox_circle_shape.xml b/res/drawable/checkbox_circle_shape.xml index 68c5a2ed359..51a567c220f 100644 --- a/res/drawable/checkbox_circle_shape.xml +++ b/res/drawable/checkbox_circle_shape.xml @@ -1,24 +1,31 @@ + Copyright (C) 2023 The Android Open Source Project - + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + - - \ No newline at end of file + android:bottom="12dp" + android:left="12dp" + android:right="12dp" + android:top="12dp"> + + + + + + \ No newline at end of file diff --git a/res/layout/choose_lock_password.xml b/res/layout/choose_lock_password.xml index b748f94e80a..5819774a75e 100644 --- a/res/layout/choose_lock_password.xml +++ b/res/layout/choose_lock_password.xml @@ -74,7 +74,6 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:gravity="center" - android:paddingLeft="14dp" android:text="@string/auto_pin_confirm_user_message" android:textSize="16sp" android:button="@drawable/checkbox_circle_shape"