You can reference the ApiDemos in the SDK "TouchPaint" Actually, you have to redraw it.
But it may another solution for you question. 2009/12/30 hollowback <[email protected]> > Nobody knows? > Ok, so is it way to avoid screen redraw while calling invalidate? I > know it is invalidate(Rect) but it is not easy to calculate accurate > rectangle. I just need that if I draw some lines, I want it remains on > canvas. > > On Dec 29, 10:37 pm, hollowback <[email protected]> wrote: > > Hi, what is best way to create app in which I only need to draw simple > > lines through onTouchEvent? > > When i use invalidate everytime i draw any line, that erase lines i > > draw before. But if I use some List structure to store drawed lines it > > lose performance. > > Is there any simple way to do it? > > > > Thanks for reply > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

