In my application I change color of Top drawable of Textview
using below code.
tvTopDrawable.setColorFilter("#E1BEE7", Mode.SRC_ATOP);
Now i want clear this color from my drawable. I used tvTopDrawable.clearColorFilter();
But it seems its not work sometime.
I used that same image in other Activity
of my Application
.
Where to write clearColorFilter()
so it clears the color from drawable,Can anyone help with this?
Thanks in Advance.
Aucun commentaire:
Enregistrer un commentaire