[android-developers] Re: Exception every time I launch the application

2010-10-10 Thread Pankaj
Thanks, I found the reason for the exception. I was using a custom theme and I needed to extend the parent theme in the xml. Now the exception seems to be gone :) On Oct 10, 5:32 am, DanH wrote: > Also keep in mind that one occasionally slips up (or Eclipse slips up) > and the project is not rebu

[android-developers] Re: Exception every time I launch the application

2010-10-09 Thread DanH
Also keep in mind that one occasionally slips up (or Eclipse slips up) and the project is not rebuilt before running. Or you can simply forget which XML is which. Try rebuilding, and verify for yourself which XML is being used for which screen. On Oct 9, 5:01 pm, Pankaj wrote: > Ya I got that m

[android-developers] Re: Exception every time I launch the application

2010-10-09 Thread DanH
This exception doesn't occur until the problem layout is actually loaded, meaning if it occurs before the first screen comes up it's the layout for the first screen. And the exception is raised when setContentView is done with the problem layout ID. If you step through your code you'll likely see

Re: [android-developers] Re: Exception every time I launch the application

2010-10-09 Thread Kostya Vasilyev
I would guess it's the first one, and might be caused by having the namespace declaration on the inner linear layout. You only need the "xmlns" at the top level. If this doesn't help, look for a layout XML file with missing size around line 25, as the message indicates. -- Kostya Vasilyev -- htt

[android-developers] Re: Exception every time I launch the application

2010-10-09 Thread Pankaj
Ya I got that much from the exception, But in which XML ? I could not figure that out that is why I have provided the xml files On Oct 9, 4:00 am, DanH wrote: > Speak of the devil! (Just had this problem myself.)  Read carefully > the first few lines in yourexceptionstack: > > Binary XML file lin

[android-developers] Re: Exception every time I launch the application

2010-10-08 Thread DanH
Speak of the devil! (Just had this problem myself.) Read carefully the first few lines in your exception stack: Binary XML file line #25: You must supply a layout_height attribute. On Oct 8, 4:42 pm, Pankaj wrote: > Hi all, > > I get an exception every time I launch the application. Here is the