I am creating an app with a very long horizontal custom view (about 500 pages horizontally). I don't draw to it often enough to justify using a surface view.
As I approached the problem I inserted my custom view into a horizontal scroll view and that works OK. Still, I think it can be smoother. Right now it redraws the whole bitmap each time. So I tried creating the bitmap by hand and discovered that it is too large - the VM won't allow the memory to be allocated. This is, of course, a big clue to how the HorizontalScrollView draws to the canvas. So, I'd rather redo the onDraw function to use a smaller bitmap. I don't quite understand, though, how the bitmap, canvas and horizontalScrollView are related and I need some strategy suggestions as to how to go about this. -- 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

