Must be tired ... forgot to refresh or something ... xmlns:app="http:// schemas.android.com/apk/res/com.foo.bar" does the trick.
On Apr 5, 10:23 pm, Mark Rosenberg <[email protected]> wrote: > I am following the LabelView.java and associated custom_view_1.xml > layout files to guide me, but I am perplexed by the xmlns:app > specification. My custom view is in the com.foo.bar package. What do I > specify as the xmlns:app value to properly bind my XML layout > declarations to the attribute set my custom view constructor > processes? > > I've tried xmlns:app="com.foo.bar", xmlns:app="http:// > schemas.android.com/apk/res/com.foo.bar", xmlns:app="http:// > schemas.android.com/com.foo.bar" to no avail. > > Its not clear to me why the api example uses an http: scheme in the > first place. Shouldn't the package name be adequately unique? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

