[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread TrojanSnake12
Yes, the extra info would help. On Apr 2, 3:11 pm, dan raaka danra...@gmail.com wrote: posting xml file contents helps to see if there are any errors On Thu, Apr 2, 2009 at 2:58 PM, Sheepz eladk...@gmail.com wrote: Hi all, pretty simple question: I've created a new xml file in my layouts

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread Sheepz
u r probably right, here it is: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/dialogLayout android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical TextView

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread droozen
You're missing a at the end of the LinearLayout declaration. However, I've noticed the same error, where eclipse wouldn't recognize a layout file as such (so that I could get a preview of it), but when I ran it in the emulator, it ran fine and the layout displayed fine (so I assume no error in

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread Streets Of Boston
Being in danger of stating the obvious :-) Did you try to look at Eclipse's 'Open With' menu-item. Maybe you have it open as a regular XML file and this mode sticks. Right click on your XML file and do 'Open With' and see if an Android Plugin editor is offered as an alternative. On Apr 2, 5:58 

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread Sheepz
Guess i'm gonna be wearing the stupid helmet for a while... that fixed it! thanks streets! On Apr 3, 1:42 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Being in danger of stating the obvious :-) Did you try to look at Eclipse's 'Open With' menu-item. Maybe you have it open as a

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-02 Thread dan raaka
posting xml file contents helps to see if there are any errors On Thu, Apr 2, 2009 at 2:58 PM, Sheepz eladk...@gmail.com wrote: Hi all, pretty simple question: I've created a new xml file in my layouts directory using eclipse's new-xml file wizard and i want to be able to use the built in