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:
parent
44c60620a6
commit
caf6f097a7
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue