Thanks guys, I missed that article. I'll try!
On 17 Mar, 18:16, Kostya Vasilyev <kmans...@gmail.com> wrote: > 17.03.2011 20:02, TreKing ?????: > > > > > I don't think you add the xmlns declaration to your custom view. > > That's for Android defined views. > > The repeated xmlns:android is unnecessary, but harmless. > > A custom view needs to use a full-qualified class name, either in the > start tag, like this: > > <*it.andrea.richiardi.myapp.*ViewClass > > or like this: > > <view class="*it.andrea.richiardi.myapp.*ViewClass".... > > Just using this: > > <ViewClass... > > doesn't work (probably tries to instantiate android.widget.ViewClass and > fails). > > > Have you read this: > >http://developer.android.com/guide/topics/ui/custom-components.html#m...? > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com -- 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