Skip to content

Commit

Permalink
Use color resource for menu background
Browse files Browse the repository at this point in the history
Since using the new `?attr/colorSurface` crashes on pre-Lollipop.
  • Loading branch information
markusfisch committed Mar 27, 2024
1 parent e29166d commit 6dc395d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/menu.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?attr/colorSurface"/>
<solid android:color="@color/primary"/>
<corners android:radius="10dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>
</shape>

0 comments on commit 6dc395d

Please sign in to comment.