How can I do that? :( My custom view comprises of multiple bitmaps (collage) and some draw- text's
-Gaurav On May 3, 2:44 pm, Second Dancer <[email protected]> wrote: > Yes, this is the correct behavior. In order to avoid drawing your whole > view, you should define a bitmap to cache your canvas. > > 2010/5/3 Gaurav Vaish <[email protected]> > > > > > Hi, > > > I have a custom view that I use in the activity. > > Here's the final structure: > > > Button 1 > > My View > > Button 2 > > > When either Button 1 or Button 2 are clicked, onDraw is dispatched to > > My View also. > > Is this the correct behaviour? > > Since drawing in my view is resource intensive, can this be avoided? > > > What's the best way / practices for the same? > > > -- > > Happy Hacking, > > Gaurav Vaish > >www.mastergaurav.com > > > -- > > 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 > athttp://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

