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.
This commit is contained in:
ByteHamster 2019-08-28 19:58:19 +02:00
parent 44c60620a6
commit caf6f097a7
1 changed files with 2 additions and 4 deletions

View File

@ -132,8 +132,7 @@
android:contentDescription="@string/advanced_search" android:contentDescription="@string/advanced_search"
app:srcCompat="?attr/action_search" app:srcCompat="?attr/action_search"
android:scaleType="center" android:scaleType="center"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"/>
android:tint="?android:attr/textColorPrimary"/>
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -158,8 +157,7 @@
android:contentDescription="@string/opml_import_label" android:contentDescription="@string/opml_import_label"
app:srcCompat="?attr/av_download" app:srcCompat="?attr/av_download"
android:scaleType="center" android:scaleType="center"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"/>
android:tint="?android:attr/textColorPrimary"/>
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"