diff options
| -rw-r--r-- | core/res/res/layout/autofill_fill_dialog.xml | 17 | ||||
| -rw-r--r-- | core/res/res/layout/autofill_save.xml | 17 | ||||
| -rw-r--r-- | core/res/res/values/styles.xml | 8 |
3 files changed, 22 insertions, 20 deletions
diff --git a/core/res/res/layout/autofill_fill_dialog.xml b/core/res/res/layout/autofill_fill_dialog.xml index d1a4935633cb..37d2fa0540f0 100644 --- a/core/res/res/layout/autofill_fill_dialog.xml +++ b/core/res/res/layout/autofill_fill_dialog.xml @@ -85,14 +85,18 @@ android:layout_marginStart="24dp" android:layout_marginEnd="24dp" android:theme="@style/Theme.DeviceDefault.AutofillHalfScreenDialogButton" - android:orientation="horizontal"> + android:orientation="horizontal" + android:gravity="center_vertical"> <Button android:id="@+id/autofill_dialog_no" android:layout_width="wrap_content" - android:layout_height="36dp" - android:layout_marginTop="6dp" - android:layout_marginBottom="6dp" + android:layout_height="40dp" + android:paddingStart="12dp" + android:paddingEnd="12dp" + android:paddingTop="0dp" + android:paddingBottom="0dp" + android:minWidth="0dp" style="?android:attr/borderlessButtonStyle" android:text="@string/autofill_save_no"> </Button> @@ -107,9 +111,8 @@ <Button android:id="@+id/autofill_dialog_yes" android:layout_width="wrap_content" - android:layout_height="36dp" - android:layout_marginTop="6dp" - android:layout_marginBottom="6dp" + android:layout_height="40dp" + android:minWidth="0dp" style="@style/AutofillHalfSheetTonalButton" android:text="@string/autofill_save_yes" android:visibility="gone" > diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml index 85529d6a4b3b..bed19a87eb16 100644 --- a/core/res/res/layout/autofill_save.xml +++ b/core/res/res/layout/autofill_save.xml @@ -72,14 +72,18 @@ android:layout_marginTop="32dp" android:layout_marginBottom="18dp" android:theme="@style/Theme.DeviceDefault.AutofillHalfScreenDialogButton" - android:orientation="horizontal"> + android:orientation="horizontal" + android:gravity="center_vertical"> <Button android:id="@+id/autofill_save_no" android:layout_width="wrap_content" - android:layout_height="36dp" - android:layout_marginTop="6dp" - android:layout_marginBottom="6dp" + android:layout_height="40dp" + android:paddingStart="12dp" + android:paddingEnd="12dp" + android:paddingTop="0dp" + android:paddingBottom="0dp" + android:minWidth="0dp" style="?android:attr/borderlessButtonStyle" android:text="@string/autofill_save_no"> </Button> @@ -94,9 +98,8 @@ <Button android:id="@+id/autofill_save_yes" android:layout_width="wrap_content" - android:layout_height="36dp" - android:layout_marginTop="6dp" - android:layout_marginBottom="6dp" + android:layout_height="40dp" + android:minWidth="0dp" style="@style/AutofillHalfSheetTonalButton" android:text="@string/autofill_save_yes"> </Button> diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 79964b3d91f7..d238a130e821 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -1500,12 +1500,8 @@ please see styles_device_defaults.xml. <item name="fontFamily">google-sans-text-medium</item> <item name="textStyle">normal</item> <item name="textAllCaps">false</item> - <item name="layout_marginTop">6dp</item> - <item name="layout_marginBottom">6dp</item> - <item name="paddingStart">16dp</item> - <item name="paddingEnd">16dp</item> - <item name="paddingTop">8dp</item> - <item name="paddingBottom">8dp</item> + <item name="paddingStart">24dp</item> + <item name="paddingEnd">24dp</item> </style> <!-- @hide Tonal button for Autofill half screen dialog --> <style name="AutofillHalfSheetTonalButton" parent="AutofillHalfSheetButton"> |