possibly you are mixing two concepts: (1) selecting a frame from a multi-frame bitmap and (2) coloring an alpha-only bitmap.
So far I understood your application case, you can either create a multi-frame bitmap containing different images for the different light colors
You create a simple (single-frame) bitmap containing a single generic image of the traffic light in the alpha-only format. Then you can colorize the image at the runtime.
I hope it helps you further.
please see the following documentation:
Project members: Bitmap resource
Using Views: Image
I'm sorry, but I don't understand what you mean with 'how to change color based on input color .please share it.'.
Concerning the usage of frames please see the section: Select the frame number of a multi-frame bitmap resource.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!