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,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="?attr/colorPrimary">
<EditText
@ -44,7 +44,7 @@
android:layout_gravity="center"
android:contentDescription="@string/search"
android:scaleType="fitCenter"
android:src="?attr/ic_close"
app:srcCompat="?attr/ic_close"
tools:ignore="RtlHardcoded"/>
</FrameLayout>