it's not static. my bad - created a separate class and works now.
On Thursday, January 24, 2013 1:51:17 PM UTC-5, Mark Murphy (a Commons Guy) wrote: > > 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 <[email protected] <javascript:>> > 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 > > [email protected]<javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > 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 [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

