I like the full namespace, so I can find my custom component easy and
clear.




On 3月24日, 下午10时50分, Mark Murphy <[email protected]> wrote:
> Ward Willats wrote:
> > Is there a way to alias the path to mycustomviewclass (perhaps in
> > its <styleable>) so I can say
>
> > <MyGreatView>
>
> > in the XML, instead of
>
> > <com.myco.myapps.MyGreatView>
>
> > (I played around with the months ago, namespaces and what-not, but
> > never found a solution.)
>
> > Just a "nice to have" thing.
>
> Not that I'm aware of. Otherwise, I would have expected Google to avail
> itself of the technique with MapView. Right now, we have to spell out
> the whole fully-qualified class name when putting MapView in our layouts
> (unless something changed on that front that I missed).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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