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

Commit cc1b643a authored by Avinash Vadlamudi's avatar Avinash Vadlamudi
Browse files

[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
parent 1d818600
Loading
Loading
Loading
Loading
+28 −21
Original line number Diff line number Diff line
<!--
  ~ 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.
  -->
     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

<selector xmlns:android="http://schemas.android.com/apk/res/android">
     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.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:bottom="12dp"
        android:left="12dp"
        android:right="12dp"
        android:top="12dp">
        <selector>
            <item
                android:state_checked="true"
                android:drawable="@drawable/ic_check_circle_filled_24dp" />
@@ -22,3 +27,5 @@
                android:state_checked="false"
                android:drawable="@drawable/ic_circle_outline_24dp" />
        </selector>
    </item>
</layer-list>
 No newline at end of file
+0 −1
Original line number Diff line number Diff line
@@ -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"