Android: standard android.R.drawable icons with a different color

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

I want to use them in a different color that matches my application colors. And I do not want to create copies of these icons and draw them in Photoshop or any drawing application.

Is there a way to change the color in the code?

+4
source share
1 answer

Yes, maybe with Drawable.setColorFilter , a related tutorial here .

+3
source

Source: https://habr.com/ru/post/1440941/


All Articles