I am using fill_parent
On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García <[email protected]>wrote: > On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García <[email protected]> > wrote: > > On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar > > <[email protected]> wrote: > >> Ok now i have added a splash screen. > >> The Splash screen works fine but then the activity which is to list the > xml > >> parsed data is showing the force close error in 2.1 > >> and i working fine in 2.2 where could i possibly be wrong > > > > Maybe you are using "match_parent" on your xml and that's why it works > > in 2.2 and FC in 2.1? > > Your layout's xml, I mean. > > > > >> > >> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García <[email protected]> > >> wrote: > >>> > >>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar > >>> <[email protected]> wrote: > >>> > Yes i have done everything > >>> > now if i run the build on 2.1 it says "Android Library project could > not > >>> > be > >>> > launched" > >>> > >>> Check the project properties. It looks like you have checked the "Is > >>> library" checkbox. > >>> > >>> > > >>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski > >>> > <[email protected]> > >>> > wrote: > >>> >> > >>> >> > May be i messed up something in the process of converting it to > 2.1 > >>> >> > I have navigated to android tools -> Fix Project Properties and > set > >>> >> > the api level > >>> >> > Changed it manually in androidManifest but still it is giving me > the > >>> >> > Null Pointer Exception > >>> >> > What could possibly be left out > >>> >> > >>> >> If your code is not using 2.2 features then it's just matter of > >>> >> setting targetSdk as low as you can and rebuilding your project > (would > >>> >> clear project "just in case" myself). So if it now crashes it may be > >>> >> just bug in your code. Debug it as such. Or check logs and > stacktrace > >>> >> you get on crash. > >>> >> > >>> >> -- > >>> >> You received this message because you are subscribed to the Google > >>> >> Groups "Android Developers" group. > >>> >> To post to this group, send email to > >>> >> [email protected] > >>> >> To unsubscribe from this group, send email to > >>> >> [email protected]<android-developers%[email protected]> > >>> >> For more options, visit this group at > >>> >> http://groups.google.com/group/android-developers?hl=en > >>> > > >>> > -- > >>> > You received this message because you are subscribed to the Google > >>> > Groups "Android Developers" group. > >>> > To post to this group, send email to > [email protected] > >>> > To unsubscribe from this group, send email to > >>> > [email protected]<android-developers%[email protected]> > >>> > For more options, visit this group at > >>> > http://groups.google.com/group/android-developers?hl=en > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > >>> Groups "Android Developers" group. > >>> To post to this group, send email to > [email protected] > >>> To unsubscribe from this group, send email to > >>> [email protected]<android-developers%[email protected]> > >>> For more options, visit this group at > >>> http://groups.google.com/group/android-developers?hl=en > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Developers" group. > >> To post to this group, send email to > [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<android-developers%[email protected]> > >> For more options, visit this group at > >> http://groups.google.com/group/android-developers?hl=en > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

