Elad Benda
Elad Benda

Reputation: 36654

every time I change my widget xml, I get runtime error in eclipse

I try to edit my android widget xml.

everytime I change one property (drawable, gravity...)

The layout is marked as error

build runs OK, but the application doesn't run.

Eclipse says there are errors, but I see no in the error window/problem/log-catenter image description here

Unexpected namespace prefix "xmlns" found for tag LinearLayout

enter image description here

Upvotes: 1

Views: 89

Answers (1)

Skaard-Solo
Skaard-Solo

Reputation: 682

xmlns means XML Namespace.

I think that this attribute should be only on the first element of the XML file, and that's why you get the error

Upvotes: 3

Related Questions