Merge pull request #563 from alexbakker/fix-lint-errors

Replace use of android:tint with app:tint to fix lint errors
This commit is contained in:
Michael Schättgen 2020-08-12 17:32:04 +02:00 committed by GitHub
commit c03d00695d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 22 additions and 20 deletions

View file

@ -46,7 +46,7 @@
android:layout_gravity="bottom|end" android:layout_gravity="bottom|end"
android:layout_margin="15dp" android:layout_margin="15dp"
android:src="@drawable/ic_check_black_24dp" android:src="@drawable/ic_check_black_24dp"
android:tint="?attr/iconColorPrimary" /> app:tint="?attr/iconColorPrimary" />
</com.avito.android.krop.KropView> </com.avito.android.krop.KropView>
</RelativeLayout> </RelativeLayout>
@ -69,7 +69,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_person_black_24dp" android:src="@drawable/ic_person_black_24dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:layout_marginEnd="20dp"/> android:layout_marginEnd="20dp"/>
@ -125,7 +125,7 @@
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="14dp" android:layout_marginStart="14dp"
android:src="@drawable/ic_keyboard_arrow_down_black_24dp" android:src="@drawable/ic_keyboard_arrow_down_black_24dp"
android:tint="?attr/iconColorPrimary"/> app:tint="?attr/iconColorPrimary"/>
<TextView <TextView
android:id="@+id/accordian_title" android:id="@+id/accordian_title"
@ -158,7 +158,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_info_outline_black_24dp" android:src="@drawable/ic_info_outline_black_24dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:layout_marginEnd="20dp"/> android:layout_marginEnd="20dp"/>
@ -209,7 +209,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_timelapse_black_24dp" android:src="@drawable/ic_timelapse_black_24dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:layout_marginEnd="20dp"/> android:layout_marginEnd="20dp"/>
@ -260,7 +260,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_counter_black_24dp" android:src="@drawable/ic_counter_black_24dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:layout_marginEnd="20dp"/> android:layout_marginEnd="20dp"/>
@ -293,7 +293,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_vpn_key_black_24dp" android:src="@drawable/ic_vpn_key_black_24dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:layout_marginEnd="20dp"/> android:layout_marginEnd="20dp"/>

View file

@ -28,7 +28,7 @@
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:tint="@color/icon_primary_inverted" app:tint="@color/icon_primary_inverted"
android:src="@drawable/ic_alert_black_24dp" /> android:src="@drawable/ic_alert_black_24dp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -41,7 +41,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_plus_black_24dp" android:src="@drawable/ic_plus_black_24dp"
android:tint="@color/colorAccent" app:tint="@color/colorAccent"
android:layout_marginEnd="15dp"/> android:layout_marginEnd="15dp"/>
<TextView <TextView
@ -69,7 +69,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_plus_black_24dp" android:src="@drawable/ic_plus_black_24dp"
android:tint="@color/colorAccent" app:tint="@color/colorAccent"
android:layout_marginEnd="15dp"/> android:layout_marginEnd="15dp"/>
<TextView <TextView
@ -98,7 +98,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_info_outline_black_24dp" android:src="@drawable/ic_info_outline_black_24dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_marginEnd="15dp"/> android:layout_marginEnd="15dp"/>
<TextView <TextView

View file

@ -136,7 +136,7 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_refresh_black_24dp" android:src="@drawable/ic_refresh_black_24dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:background="?android:attr/selectableItemBackground" /> android:background="?android:attr/selectableItemBackground" />
<ImageView <ImageView

View file

@ -138,7 +138,7 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_refresh_black_24dp" android:src="@drawable/ic_refresh_black_24dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:background="?android:attr/selectableItemBackground" /> android:background="?android:attr/selectableItemBackground" />
<ImageView <ImageView

View file

@ -135,7 +135,7 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_refresh_black_24dp" android:src="@drawable/ic_refresh_black_24dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:background="?android:attr/selectableItemBackground" /> android:background="?android:attr/selectableItemBackground" />
<ImageView <ImageView

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
@ -57,6 +58,6 @@
android:paddingEnd="15dp" android:paddingEnd="15dp"
android:paddingBottom="12.5dp" android:paddingBottom="12.5dp"
android:src="@drawable/ic_delete_black_24dp" android:src="@drawable/ic_delete_black_24dp"
android:tint="?attr/iconColorPrimary" /> app:tint="?attr/iconColorPrimary" />
</LinearLayout> </LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
@ -20,7 +21,7 @@
<ImageView <ImageView
android:id="@+id/img_slot" android:id="@+id/img_slot"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginEnd="15dp"/> android:layout_marginEnd="15dp"/>
@ -65,7 +66,7 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:src="@drawable/ic_delete_black_24dp" android:src="@drawable/ic_delete_black_24dp"
android:tint="?attr/iconColorPrimary" app:tint="?attr/iconColorPrimary"
android:paddingStart="15dp" android:paddingStart="15dp"
android:paddingEnd="15dp" android:paddingEnd="15dp"
android:paddingTop="12.5dp" android:paddingTop="12.5dp"

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/background" android:background="?attr/background"
@ -43,7 +43,7 @@
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="50dp" android:layout_height="50dp"
android:src="@drawable/ic_qrcode_scan" android:src="@drawable/ic_qrcode_scan"
android:tint="?attr/primaryText" /> app:tint="?attr/primaryText" />
<TextView <TextView
android:id="@+id/textView" android:id="@+id/textView"