Added elevationOverlay to popup menu background to distinguish it from the app background
This commit is contained in:
parent
0efbefb6bd
commit
ceb452db25
1 changed files with 17 additions and 7 deletions
|
@ -1,8 +1,18 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<solid android:color="?attr/colorSurface" />
|
<item>
|
||||||
<corners android:radius="20dp" />
|
<shape>
|
||||||
<padding
|
<solid android:color="?attr/colorSurface" />
|
||||||
android:bottom="10dp"
|
<corners android:radius="20dp" />
|
||||||
android:top="10dp" />
|
</shape>
|
||||||
</shape>
|
</item>
|
||||||
|
<item>
|
||||||
|
<shape>
|
||||||
|
<solid android:color="@color/m3_popupmenu_overlay_color"/>
|
||||||
|
<corners android:radius="20dp" />
|
||||||
|
<padding
|
||||||
|
android:bottom="10dp"
|
||||||
|
android:top="10dp" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue