playback: use layer background in playback panel
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.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user