diff options
| author | 2022-12-22 21:21:52 +0000 | |
|---|---|---|
| committer | 2023-01-10 15:26:12 +0000 | |
| commit | 34f257b5f11ee23906ff2f18bf975f559f2f597b (patch) | |
| tree | 9b339c1240335ad28257603e70c42a2399b1d0f9 | |
| parent | 3a1eabc9bb6fcf64ff920b7326ecdc388dde650e (diff) | |
[Media TTT] Set translationZ on the chipbar to give it a shadow.
Fixes: 262585157
Test: See screenshots in bug
Change-Id: I9aacbbfdcccd8f25242eb10da4bd7c869b4e0cf4
| -rw-r--r-- | packages/SystemUI/res/layout/chipbar.xml | 3 |
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" |