Android Question Changing bitmap color at runtime

Alessandro71

Well-Known Member
Licensed User
Longtime User
I have a dashboard of icons
icons can be 1 bitplane only (with transparency) png files
I'd like to color the icons at runtime (think of a dashboard of light going on and off)
I don't see any function for coloring bitmaps at runtime or applying a colorize filter
how can I achive this?
 

DonManfred

Expert
Licensed User
Longtime User
i suggest using a small panel and set the backgroundcolor of this panel to archieve the result of one of the bitplane
 
Upvote 0

Alessandro71

Well-Known Member
Licensed User
Longtime User
interesting idea: setting the icons with negative transparent (like a cut-out) and setting the color of the panel to see-through
 
Upvote 0
Top