From caf6f097a71d45354e7b71684a795a4f192fdce7 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 28 Aug 2019 19:58:19 +0200 Subject: [PATCH] Fixed crash on Android 4.3 Apparently, applying `android:attr/textColorPrimary` to a TextView works, while using it to tint an ImageView makes the app crash. --- app/src/main/res/layout/addfeed.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/addfeed.xml b/app/src/main/res/layout/addfeed.xml index a9cf31cf2..ef8251a06 100644 --- a/app/src/main/res/layout/addfeed.xml +++ b/app/src/main/res/layout/addfeed.xml @@ -132,8 +132,7 @@ android:contentDescription="@string/advanced_search" app:srcCompat="?attr/action_search" android:scaleType="center" - android:layout_marginBottom="4dp" - android:tint="?android:attr/textColorPrimary"/> + android:layout_marginBottom="4dp"/> + android:layout_marginBottom="4dp"/>