summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-01-11 19:29:18 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-01-11 19:29:18 +0000
commita31b80d4c4c7607e73f59abf40ef336da9cce50e (patch)
tree209c3b42c4adef689331fc82486fcdb63c9bd579
parentead22d8ec6dbb7ec4e0be17e42989de5b7af9aa5 (diff)
parent3f0acd053b0c363f81f12f0d93c024d5a85a58c2 (diff)
Merge "Merge "[Media TTT] Set translationZ on the chipbar to give it a shadow." into tm-qpr-dev am: 5cdc2b280f am: c40026c29e"
-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"