Yep, but not quite: :=)
button/button
is the same as
button/
But button/ is not the same as
button
/button
because here the button-element has child text-node containing
whitespace.
But then again, in your layout-xml it should not matter. This
whitespace should just be
That layout compiles fine for me. Are you sure you don't have some
non-printable character in your xml file that is messing things up?
On Tue, Mar 3, 2009 at 10:27 PM, idev ideveloper...@gmail.com wrote:
?xml version=1.0 encoding=utf-8?
LinearLayout
Yeah that was it. COpied it into notepad and it showed some garbled up
things. Thanks.
On 06-Mar-09, at 4:10 AM, Marco Nelissen wrote:
That layout compiles fine for me. Are you sure you don't have some
non-printable character in your xml file that is messing things up?
On Tue, Mar 3,
Not quite sure (haven't looked at the schema) but perhaps Button is an
empty element, so in your layout it should look like this:
Button android:id=@+id/installRing
android:layout_width=wrap_content
android:layout_height=52px
android:background=@drawable/installBtn
The XML in your post is ok. I just pasted it into an XML editor and it
validates OK.
However, this is what i've seen in Eclipse as well when editing XML
files for my android projects, especially XML files for layout in
Eclipse's layout-editor plugin for Android.
Sometimes an error is reported
5 matches
Mail list logo