Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cbdd7f1 authored by josephpv's avatar josephpv
Browse files

set background property for the layout used in makeCustomToastWithIcon()

Set android:background property in the layout used in custom icon toasts
to match with the layout of the systemui toast.

Screenshots:
go/ss/AcaRQUJQfh79wDw.png
go/ss/5j4oD8xydwX7HTX.png
go/ss/7y9BguWfYBnng7y.png

Bug:330176222
Test: Verify toast with custom icon has round corners
Change-Id: I686b71d76278bb44b7c4dd3b830bd4bd14889d07
parent f4048242
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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"