diff --git a/core/res/res/drawable/bottomsheet_background.xml b/core/res/res/drawable/bottomsheet_background.xml index 00d53004c9dca..9469e0a672076 100644 --- a/core/res/res/drawable/bottomsheet_background.xml +++ b/core/res/res/drawable/bottomsheet_background.xml @@ -16,7 +16,7 @@ - + android:topLeftRadius="@dimen/autofill_dialog_corner_radius" + android:topRightRadius="@dimen/autofill_dialog_corner_radius"/> + diff --git a/core/res/res/drawable/btn_outlined.xml b/core/res/res/drawable/btn_outlined.xml new file mode 100644 index 0000000000000..8fbcc258be551 --- /dev/null +++ b/core/res/res/drawable/btn_outlined.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/core/res/res/drawable/btn_tonal.xml b/core/res/res/drawable/btn_tonal.xml new file mode 100644 index 0000000000000..b891ca8cd7889 --- /dev/null +++ b/core/res/res/drawable/btn_tonal.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/core/res/res/layout/autofill_fill_dialog.xml b/core/res/res/layout/autofill_fill_dialog.xml index 0b6a2016f03d1..e638764840738 100644 --- a/core/res/res/layout/autofill_fill_dialog.xml +++ b/core/res/res/layout/autofill_fill_dialog.xml @@ -20,8 +20,6 @@ android:id="@+id/autofill_dialog_picker" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/autofill_save_outer_top_margin" - android:padding="@dimen/autofill_save_outer_top_padding" android:background="@drawable/bottomsheet_background" android:orientation="vertical"> @@ -29,8 +27,9 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" - android:paddingStart="@dimen/autofill_save_inner_padding" - android:paddingEnd="@dimen/autofill_save_inner_padding" + android:paddingTop="24dp" + android:layout_marginStart="24dp" + android:layout_marginEnd="24dp" android:orientation="vertical"> @@ -98,8 +107,10 @@ diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml index eb5fd56d51c6c..8a1a9c7a90832 100644 --- a/core/res/res/layout/autofill_save.xml +++ b/core/res/res/layout/autofill_save.xml @@ -19,6 +19,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" + android:background="@drawable/bottomsheet_background" android:orientation="vertical"> + + - - diff --git a/core/res/res/values-night/themes_device_defaults.xml b/core/res/res/values-night/themes_device_defaults.xml index 93975a9d7bf18..366e6f97eed33 100644 --- a/core/res/res/values-night/themes_device_defaults.xml +++ b/core/res/res/values-night/themes_device_defaults.xml @@ -90,4 +90,13 @@ easier. @android:color/GM2_grey_800 @android:color/resolver_text_color_secondary_dark + + + diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml index b73f96e3696ca..211bf7f7b581d 100644 --- a/core/res/res/values/dimens.xml +++ b/core/res/res/values/dimens.xml @@ -873,6 +873,7 @@ 8dp 4dp 16dp + 28dp 20% @@ -888,7 +889,7 @@ 3 - 24dp + 32dp 56dp diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 0e3ac9b28d2d1..afc53db974d09 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -1467,6 +1467,31 @@ please see styles_device_defaults.xml. @color/lock_pattern_view_success_color + + + + + + + + + +