
Instead of using @color/background directly, use ?attr/colorSurface so that changes can be made to the theming easier. This also resolves some more minor issues regarding certain widget's backgrounds.
17 lines
584 B
XML
17 lines
584 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item>
|
|
<shape android:shape="rectangle">
|
|
<solid android:color="?attr/colorSurface" />
|
|
</shape>
|
|
</item>
|
|
<item>
|
|
<ripple android:color="?attr/colorControlHighlight">
|
|
<item android:id="@android:id/mask">
|
|
<shape android:shape="rectangle">
|
|
<solid android:color="?attr/colorControlHighlight" />
|
|
</shape>
|
|
</item>
|
|
</ripple>
|
|
</item>
|
|
</layer-list>
|