Apply Color Filter with xml in ImageView
I've got an ImageView and programmatically I can change its color using imageView.setColorFilter(Color.RED)
.
There is something similar using xml??
Yes, it's android:tint
. Here you have more info.
I've got an ImageView and programmatically I can change its color using imageView.setColorFilter(Color.RED)
.
There is something similar using xml??
Yes, it's android:tint
. Here you have more info.