summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ioana Alexandru <aioana@google.com> 2023-03-08 10:57:41 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-03-08 10:57:41 +0000
commita200cb7882ccb7758266c5cb46b7ed7f8ab55d0b (patch)
tree8681764ca34a2e728503e2aa43141752be4922f7
parent9f4c30c20c57f905c9610bdf572b4c9b19dee7d2 (diff)
parentf5e6aa2a7fcec33f15f55d2479a2edcfbb020367 (diff)
Merge "Use backgroundColor for the old toast layout." into tm-qpr-dev am: 2c599da6f9 am: f5e6aa2a7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21866688 Change-Id: I98e2288309e705fa4b7d09075ac3a040aa96d5b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--core/res/res/layout/transient_notification.xml2
-rw-r--r--core/res/res/layout/transient_notification_with_icon.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/res/res/layout/transient_notification.xml b/core/res/res/layout/transient_notification.xml
index 3259201f6e9b..8bedb897dc19 100644
--- a/core/res/res/layout/transient_notification.xml
+++ b/core/res/res/layout/transient_notification.xml
@@ -25,7 +25,7 @@
android:orientation="horizontal"
android:gravity="center_vertical"
android:maxWidth="@dimen/toast_width"
- android:background="?android:attr/toastFrameBackground"
+ android:background="?android:attr/colorBackground"
android:elevation="@dimen/toast_elevation"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
diff --git a/core/res/res/layout/transient_notification_with_icon.xml b/core/res/res/layout/transient_notification_with_icon.xml
index e9b17df75333..0dfb3adc8364 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/toastFrameBackground"
+ android:background="?android:attr/colorBackground"
android:elevation="@dimen/toast_elevation"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"