Merge pull request #3538 from ariedov/crash-on-equalizer-4.1

Fixes crash on equalizer open on Android 4.1
This commit is contained in:
H. Lehmann 2019-10-19 01:53:08 +02:00 committed by GitHub
commit 4df98151a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 7 deletions

View File

@ -1,13 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"><shape android:shape="rectangle"> <item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="@color/selection_background_color_dark" /> <solid android:color="@color/selection_background_color_dark" />
</shape></item> </shape>
<item android:state_focused="true"><shape android:shape="rectangle"> </item>
<item android:state_focused="true">
<shape android:shape="rectangle">
<solid android:color="@color/selection_background_color_dark" /> <solid android:color="@color/selection_background_color_dark" />
</shape></item> </shape>
<item><shape android:shape="rectangle"> </item>
<item>
<shape android:shape="rectangle">
<solid android:color="@android:color/transparent" /> <solid android:color="@android:color/transparent" />
</shape></item> </shape>
</item>
</selector> </selector>