Search code examples
androidxmlimageview

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??


Solution

  • Yes, it's android:tint. Here you have more info.