Android Question Color schemed buttons?

Troberg

Well-Known Member
Licensed User
Longtime User
I'm thinking about making an app with multiple color schemes. But, I'm lazy and don't want to redraw the icons (which, also, would be impossible if the color schemes are user defined). The icons should have a transparent background.

So, my plan is something like this:

Stack, from bottom up:
1. solid color in the selected color schem color
2. alpha map in the shape of the icon, with outside transparent (to punch out only the icon shaped color)
3. alpha map in the shape of the icon, with outside transparent and inside shaded as needed to give the desired shadings on the icon

At 1, we'll have a solid color.
At 2, we'll have a solid color shaped as the icon, with transparent outside.
At 3, we'll have the fully shaded icon, with transparent outside.

While this would probably work, is there an easier way of doing it?
 
Top