Hello.
I'm trying to develop an app which mimic the MicrosoftPaint
application. My current setup is that I have a single activity which
contains multiple custom-view. These views correlate to the different
tool that program can do. Example: 'pencilView' to simulate the
pencilStrokes, 'rectangleView' to simulate the rectangle drawing, etc.
Based on onOptionsItemSelected, I setContentView to the selected view,
and then requestFocus. But I'm not sure of how to show the different
strokes made to be on-top of each other. I tried to pass the canvas
object around and call save (at the end) and restore (in the
beginning) but that didn't work.

Any suggestions?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to