diff options
| author | 2024-03-20 15:18:28 +0000 | |
|---|---|---|
| committer | 2024-03-20 15:18:28 +0000 | |
| commit | 041f37e107f11354493f2188745bd046d5476b51 (patch) | |
| tree | d19f0631015bf9fc8509d2f057ad5719a09edaa0 | |
| parent | b2ffb1db396c4606d523f1750ff8815987320ae2 (diff) | |
| parent | 1cbdd7f1cbe134f13f6c2a93ee8e948b9133b022 (diff) | |
Merge "set background property for the layout used in makeCustomToastWithIcon()" into main
| -rw-r--r-- | core/res/res/layout/transient_notification_with_icon.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/res/res/layout/transient_notification_with_icon.xml b/core/res/res/layout/transient_notification_with_icon.xml index 0dfb3adc8364..04518b2a75a2 100644 --- a/core/res/res/layout/transient_notification_with_icon.xml +++ b/core/res/res/layout/transient_notification_with_icon.xml @@ -22,7 +22,7 @@ android:orientation="horizontal" android:gravity="center_vertical" android:maxWidth="@dimen/toast_width" - android:background="?android:attr/colorBackground" + android:background="@android:drawable/toast_frame" android:elevation="@dimen/toast_elevation" android:layout_marginEnd="16dp" android:layout_marginStart="16dp" @@ -31,8 +31,11 @@ <ImageView android:id="@android:id/icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_width="24dp" + android:layout_height="24dp" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:layout_marginEnd="10dp" /> <TextView android:id="@android:id/message" |