CobaltAxiom
Lurker
Hi all,
I'm very new to Android development, a total beginner.
I've done a bunch of Googling but haven't found an answer to this question:
(Maybe this has been asked before, I couldn't find it)
Is it possible to specify a specific color in an ImageView drawable and not have that color drawn? Or have that color drawn as transparent?
I know you can just set it to the transparent color in the original file, but is there a way to tell Android, in code, or with a specific XML line or setting, to replace one color with another, or draw a specific color as transparent, within an ImageView drawable?
I know you can set background images to be tinted, or faded/transparent, but I mean, make it so a specified color in an ImageView is either not drawn at all, drawn as transparent, or replaced with a different color.
Really appreciate your assistance..!
I'm very new to Android development, a total beginner.
I've done a bunch of Googling but haven't found an answer to this question:
(Maybe this has been asked before, I couldn't find it)
Is it possible to specify a specific color in an ImageView drawable and not have that color drawn? Or have that color drawn as transparent?
I know you can just set it to the transparent color in the original file, but is there a way to tell Android, in code, or with a specific XML line or setting, to replace one color with another, or draw a specific color as transparent, within an ImageView drawable?
I know you can set background images to be tinted, or faded/transparent, but I mean, make it so a specified color in an ImageView is either not drawn at all, drawn as transparent, or replaced with a different color.
Really appreciate your assistance..!