Is it possible to make drawable tinting work for api < 21?
<bitmap
xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_calendar"
android:tint="@color/primary" />
Works just fine but only for devices with API21. Any workaround for lower api devices or AppCompat support? Can't find anything.
AppCompatImageView
docs:This will automatically be used when you use ImageView in your layouts. You should only need to manually use this class when writing custom views.
developer.android.com/reference/android/support/v7/widget/… So, using the normalImageView
in the layout should work just fine. – Rohn