On Mar 10, 8:45 pm, dwilde1 <[email protected]> wrote: > The following routine in a subclass of view attempts to draw a bell > curve on a canvas and display it.
The answer was actually simple. I was setting up my canvas and its contents in onCreate() and onStart(), but the canvas is never rendered for the first time by onDraw() until the end of onStart(). . This unfortunately means also that you cannot measure the canvas until then, so you can't initialize line-drawing arrays unless you use the physical screen dimensions from DisplayMetrics, which is A Bad Idea. -- 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

