Yes it is.  I can't figure out whats going wrong.  When I inflate it
by doing this in my main class in onCreate():

setContentView(R.layout.main);

FrameLayout frame = (FrameLayout) findViewById(R.id.frame);
frame.addView(new TapPlotDrawer(this));

Its not a huge deal since this way works, but I'm curious about this
and I actually notice a slight performance difference when inflating
the XML and then adding as shown above.

On Apr 23, 4:55 pm, Mark Murphy <[email protected]> wrote:
> sudo.adam wrote:
> > 04-23 16:46:29.079: ERROR/AndroidRuntime(216): Caused by:
> > java.lang.ClassNotFoundException: com.adamcarruthers.TapPlotDrawer in
> > loader dalvik.system.pathclassloa...@43d03158
>
> Is your class public?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android 2.x Programming Books:http://commonsware.com/books
>
> --
> 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

Reply via email to