Fine-tune the location and style of the reset button in the “Display size and text” page.

Bug: 222419452
Test: manual test
Change-Id: I9099f13c715ce29cce8d52f6ca9cc47a4fa22306
This commit is contained in:
Peter_Liang
2022-04-21 16:25:34 +08:00
parent e774a70cba
commit 7f67e278ca

View File

@@ -27,14 +27,11 @@
android:id="@+id/reset_button" android:id="@+id/reset_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center|end" android:layout_gravity="center_vertical|start"
android:paddingVertical="14dp" android:paddingVertical="14dp"
android:background="@null"
android:drawableStart="@drawable/ic_history" android:drawableStart="@drawable/ic_history"
android:drawablePadding="9dp" android:drawablePadding="9dp"
android:drawableTint="?android:attr/colorAccent" android:drawableTint="@color/settingslib_btn_colored_text_material"
android:textColor="?android:attr/colorAccent" android:text="@string/accessibility_text_reading_reset_button_title"
android:textSize="16sp" style="@style/ActionPrimaryButton"/>
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium"
android:text="@string/accessibility_text_reading_reset_button_title"/>
</FrameLayout> </FrameLayout>