This happens because the class
android.support.v7.internal.widget.TintImageView
does not exist in appcompat v 23.xx.
In general, do not use classes in the internal package.
You can check the source in the androidsdk\extras\android\m2repository\com\android\support\appcompat-v7\ .
You should switch to AppCompatImageView .
A ImageView that supports compatible features on the old version of the platform, including:
- Allows you to use dynamic background hue using the background hue methods in ViewCompat.
- Allows you to set the hue of the background using backgroundTint and backgroundTintMode.
This will be automatically used when using ImageView in your layouts. You will only need to manually use this class when writing custom views.
source share