Thursday, January 24, 2013

[android-developers] referencing a nested class in xml

i've got a nested View sub-class class

In a xml file, i have a reference to it

<Layout>
<com.example.test.MyFragment.MyView/>
</Layout>

Where MyView is a sub-class of View.

I'm getting run-time error for class not found.

do i need to delimit using $ instead of .


--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
 

No comments:

Post a Comment