[android-beginners] Re: onDraw is never called...

2009-03-09 Thread mcmc
Thanks for your responses. I think I have set the view in the content view (although I'm not entirely sure what that means...). But I don't think I made it "visible"... how do I do that? This is what I have: public class TestDraw extends Activity { /** Called when the activity is firs

[android-beginners] Re: onDraw is never called...

2009-03-07 Thread MrSnowflake
onDraw() will only be called when the view is in the content view of the Activity and visible! On 5 mrt, 20:25, mcmc wrote: > I cannot get the onDraw function to be called. Here is the what my > basic code looks like. What triggers the onDraw to be called? > >         private class DemoView exte