I want to learn how can I create layers (like in photoshop) in my android application. I want to achieve one basic thing: when I add an image in my canvas, which will be some figure for example, I want to be able to paint the canvas, but the painting must not effect the lines of figure. And then I need to save that image on my Sd card.
Any suggestions/advice/examples? What can I use to achieve this?
The order how you paint makes layers. Create some stack of objects what you paint and then modify individual objects (painting in layer) or move them in this stack (changing layers). Use the same order to create your image to save.