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

Commit 946f6bac authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add elevation to toast" into sc-dev am: 2a29cb25

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14093795

Change-Id: I6f4a0b194f8678a1c28c4e5b76edbe7088d707af
parents d42ce92b 2a29cb25
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
    android:gravity="center_vertical"
    android:maxWidth="@dimen/toast_width"
    android:background="?android:attr/toastFrameBackground"
    android:elevation="@dimen/toast_elevation"
    android:layout_marginEnd="16dp"
    android:layout_marginStart="16dp"
    android:paddingStart="16dp"
+3 −1
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@
    <dimen name="toast_width">300dp</dimen>
    <!-- Text size of the message within a toast -->
    <dimen name="toast_text_size">14sp</dimen>
    <!-- Elevation of toast view -->
    <dimen name="toast_elevation">6dp</dimen>

    <!-- Height of the status bar -->
    <dimen name="status_bar_height">@dimen/status_bar_height_portrait</dimen>
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
    android:gravity="center_vertical"
    android:maxWidth="@*android:dimen/toast_width"
    android:background="@android:drawable/toast_frame"
    android:elevation="@*android:dimen/toast_elevation"
    android:layout_marginEnd="16dp"
    android:layout_marginStart="16dp"
    android:paddingStart="16dp"