If MyView is static inner class of MyFragment, with a public constructor following the two-parameter form for View subclasses, use com.example.test.MyFragment$MyView.
On Thu, Jan 24, 2013 at 1:46 PM, dashman <erjdri...@gmail.com> wrote: > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en