summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2023-01-11 18:42:23 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-01-11 18:42:23 +0000
commitc40026c29ea42954a677dc055a51bcb7ec403bfe (patch)
tree212260da963c413b34b1c119acb79eb2ac2369b5
parent37a5bf629dd9ca7895dfc018552b64754da0c473 (diff)
parent5cdc2b280f5464e881342a2d05fc94efc0cd1d7e (diff)
Merge "[Media TTT] Set translationZ on the chipbar to give it a shadow." into tm-qpr-dev am: 5cdc2b280f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20811822 Change-Id: Id0b177a565ded11f975892b83c23a7ac711c6465 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--packages/SystemUI/res/layout/chipbar.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/chipbar.xml b/packages/SystemUI/res/layout/chipbar.xml
index bc97e511e7f4..8cf4f4de27da 100644
--- a/packages/SystemUI/res/layout/chipbar.xml
+++ b/packages/SystemUI/res/layout/chipbar.xml
@@ -23,6 +23,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content">
+ <!-- Extra marginBottom to give room for the drop shadow. -->
<LinearLayout
android:id="@+id/chipbar_inner"
android:orientation="horizontal"
@@ -33,6 +34,8 @@
android:layout_marginTop="20dp"
android:layout_marginStart="@dimen/notification_side_paddings"
android:layout_marginEnd="@dimen/notification_side_paddings"
+ android:translationZ="4dp"
+ android:layout_marginBottom="8dp"
android:clipToPadding="false"
android:gravity="center_vertical"
android:alpha="0.0"