4

Most of the standard icons of Android in android.R.drawable are gray in color.

I want to use them in other color, that match to my app colors. And I don't want to create copy of these icons and paint them in Photoshop or any painting application.

Is there any way to change their color in the code?

Siddharth Lele
  • 27,623
  • 15
  • 98
  • 151
nrofis
  • 8,975
  • 14
  • 58
  • 113

1 Answers1

3

Yes, it's possible with Drawable.setColorFilter, here's a related tutorial.

molnarm
  • 9,856
  • 2
  • 42
  • 60