[android-developers] Re: What is wrong with this layout

2009-03-05 Thread Streets Of Boston
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

[android-developers] Re: What is wrong with this layout

2009-03-05 Thread Marco Nelissen
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

[android-developers] Re: What is wrong with this layout

2009-03-05 Thread iDeveloper
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,

[android-developers] Re: What is wrong with this layout

2009-03-04 Thread Stoyan Damov
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

[android-developers] Re: What is wrong with this layout

2009-03-04 Thread Streets Of Boston
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