Question about creating custom widget

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Question about creating custom widget

Postby silverburgh.meryl » Thu Feb 12, 2009 2:15 am


I am trying to understand Custom Widget example in android , specifically the LableView in the android sample.

In the custom_view_1.xml, it has
<LinearLayout xmlns:android=""

Can you please tell me where is the scheme 'xmlns:app' defined? How can I do the same for my application.

I tried to copy that line to my layout.xml file, I get this error in eclipse:

Description Resource Path Location Type
ERROR No resource identifier found for attribute 'myTestAttribute' in package '' calculator.xml Instrumentation/res/layout line 50 aapt Problem

Thank you for any help.
Junior Developer
Junior Developer
Posts: 23
Joined: Sun Feb 08, 2009 11:17 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 6 guests