Use app:srcCompat and derivatives intead of android: ones

To fix crashes on API 19
This commit is contained in:
Stypox 2020-03-31 09:34:05 +02:00
parent c80aba9a88
commit e7a25934f6
20 changed files with 53 additions and 50 deletions

View file

@ -1,8 +1,8 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<RelativeLayout
android:id="@+id/newPlaylist"
@ -19,7 +19,7 @@
android:layout_centerVertical="true"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:src="?attr/ic_playlist_add"
app:srcCompat="?attr/ic_playlist_add"
tools:ignore="ContentDescription,RtlHardcoded"/>
<TextView