diff --git a/core/res/res/layout/autofill_fill_dialog.xml b/core/res/res/layout/autofill_fill_dialog.xml
index e638764840738..ba27d90379269 100644
--- a/core/res/res/layout/autofill_fill_dialog.xml
+++ b/core/res/res/layout/autofill_fill_dialog.xml
@@ -62,18 +62,24 @@
android:layout_marginEnd="24dp"
android:background="@drawable/autofill_dataset_picker_background"/>
-
+ android:theme="@style/Theme.DeviceDefault.AutofillHalfScreenDialogList"
+ android:orientation="vertical">
+
+
-
+
+
-
-
-
-
-
-
-
+ android:text="@string/autofill_save_title"
+ android:layout_marginTop="16dp"
+ android:gravity="center"
+ android:textAppearance="@style/AutofillSaveUiTitle">
+
diff --git a/core/res/res/values-night/themes_device_defaults.xml b/core/res/res/values-night/themes_device_defaults.xml
index 366e6f97eed33..7cfdba7a65bee 100644
--- a/core/res/res/values-night/themes_device_defaults.xml
+++ b/core/res/res/values-night/themes_device_defaults.xml
@@ -98,5 +98,10 @@ easier.
- @color/system_accent1_700
- @color/system_neutral1_100
- @color/system_neutral2_100
+ - @color/white
+
+
+
diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml
index 211bf7f7b581d..43ca4f098ce78 100644
--- a/core/res/res/values/dimens.xml
+++ b/core/res/res/values/dimens.xml
@@ -865,13 +865,13 @@
90%
- 32dp
+ 24dp
16dp
32dp
16dp
- 24dp
+ 32dp
8dp
- 4dp
+ 16dp
16dp
28dp
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index 974b1d055c22d..bad05e077b7d9 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -1498,7 +1498,14 @@ please see styles_device_defaults.xml.
- @drawable/autofill_dataset_picker_background
-
+
+
+
+
+
diff --git a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java
index 826a98afe2f8f..078a1d97f5b73 100644
--- a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java
+++ b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java
@@ -348,7 +348,9 @@ final class SaveUi {
window.setType(WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY);
window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
| WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
+ | WindowManager.LayoutParams.FLAG_DIM_BEHIND
| WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH);
+ window.setDimAmount(0.6f);
window.addPrivateFlags(WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS);
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
window.setGravity(Gravity.BOTTOM | Gravity.CENTER);