Accessibility toggle button small tappable area fix

Revert part of the layout change from b/233835795 fix so that
the issue of small tappable area in b/265859032 is fixed while
we continue to look at a better fix for b/233835795

Test: Manually change different Display & Font size to test UI
Test: m RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.biometrics.face.FaceEnrollEducationTest"

Bug: 265859032

Change-Id: I90ba7cc11dc61380dfdf0c3bcd2c59a17b43ee0e
This commit is contained in:
Chengfei Tao
2023-01-29 12:16:19 +08:00
parent b5215abde7
commit 08ac9c1246
2 changed files with 1 additions and 3 deletions

View File

@@ -84,8 +84,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/limited_vision_button_frame_margin_top">
android:layout_height="wrap_content">
<Button
android:id="@+id/accessibility_button"

View File

@@ -525,7 +525,6 @@
<dimen name="illustration_accessibility_margin_top">0dp</dimen>
<dimen name="face_enroll_education_lottie_frame_margin_top">-24dp</dimen>
<dimen name="lottie_animation_view_margin_top">-52dp</dimen>
<dimen name="limited_vision_button_frame_margin_top">-24dp</dimen>
<dimen name="limited_vision_button_margin_top">0dp</dimen>
<dimen name="limited_vision_button_margin_bottom">0dp</dimen>
<dimen name="limited_vision_button_toggle_margin_top">0dp</dimen>