I've defined a few custom View and ViewGroup subclasses that I've been
using successfully in my layout XML files.  Then out of nowhere the
Eclipse plugin is no longer able to render them in the Graphical
Layout tab.  It gives the following error:

com.android.layoutlib.bridge.MockView cannot be cast to
android.view.ViewGroup
Exception details are logged in Window > Show View > Error Log
The following classes could not be found:
- com.pitchplayer.ui.NotifierLayout (Change to
com.pitchplayer.ui.NotifierLayout, Fix Build Path, Edit XML, Create
Class)

My custom layout class (com.pitchplayer.ui.NotifierLayout) is valid
and compiles successfully.  I searched for similar problems and people
suggested changing the layout renderer to use Android 3.0 libraries,
but that didn't solve the problem.  Anybody have any idea how to
resolve this?

Thanks.

-- 
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