Use a layered background in the playback panel, with a colorSurface layer behind the elevated MaterialShapeDrawable. This is for safety, as there might be cases where a fully transparent MaterialShapeDrawable results in unexpected behavior.
12 lines
399 B
XML
12 lines
399 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item android:id="@android:id/background">
|
|
<shape android:shape="rectangle">
|
|
<solid android:color="?attr/colorSurface" />
|
|
</shape>
|
|
</item>
|
|
|
|
<item android:id="@+id/panel_overlay">
|
|
<shape android:shape="rectangle" />
|
|
</item>
|
|
</layer-list> |