Fixed crash on pre-Lollipop devices (API levels 20 and prior) due to trying to load attributes in drawables.
This commit is contained in:
parent
8964c61397
commit
af4af94775
19 changed files with 130 additions and 46 deletions
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="?attr/media_preview_unloaded_background_color" />
|
||||
<solid android:color="@color/media_preview_unloaded_background_dark" />
|
||||
|
||||
<stroke
|
||||
android:dashWidth="4dp"
|
||||
14
app/src/main/res/drawable/media_preview_unloaded_light.xml
Normal file
14
app/src/main/res/drawable/media_preview_unloaded_light.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/media_preview_unloaded_background_light" />
|
||||
|
||||
<stroke
|
||||
android:dashWidth="4dp"
|
||||
android:dashGap="4dp"
|
||||
android:width="2dp"
|
||||
android:color="#AFAFAF" />
|
||||
|
||||
</shape>
|
||||
|
|
@ -2,5 +2,5 @@
|
|||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<size android:height="1dp" />
|
||||
<solid android:color="?attr/status_divider_color" />
|
||||
<solid android:color="@color/status_divider_dark" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/status_divider_light.xml
Normal file
6
app/src/main/res/drawable/status_divider_light.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<size android:height="1dp" />
|
||||
<solid android:color="@color/status_divider_light" />
|
||||
</shape>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="?attr/tab_page_margin_color" />
|
||||
<solid android:color="@color/tab_page_margin_dark" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/tab_page_margin_light.xml
Normal file
5
app/src/main/res/drawable/tab_page_margin_light.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/tab_page_margin_light" />
|
||||
</shape>
|
||||
Loading…
Add table
Add a link
Reference in a new issue