It was layout-land.

How do I get to the stack trace?

On Sun, Jun 21, 2009 at 12:47 PM, Mark Murphy <[email protected]>wrote:

>
> Dennis Christy wrote:
> > I am trying to run Tutorial 10 from the Android tutorials book. This is
> > the tutorial that switches the view from portrait to landscape using
> > <ctrl> < f12> in the emulator.
> > Everything is fine as long as I am in portrait view, as soon as I switch
> > to landscape view, the following happens:
> > The orientation changes to landscape, the list is in portrait, switches
> > quickly to landscape, and I get the following error message:
> >
> > "The application LunchList (process.com.example,lunchlist) has stopped
> > unexpectedly. Please try again."  The only option is to close the
> > application.
> >
> > The tutorial says to setup another main.xml under res/layout-land,  and
> > to modify it for landscape viewing.
> >
> > I did this, but now have 2 main.xml, one under res/layout and the
> > modified one under res/layout/land.
>
> That should be res/layout-land.
>
> > I have looked at the LogCat, but don't see anything that sheds any light
> > on the problem.
>
> Can you post the stack trace?
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
>
> >
>


-- 
Dennis Christy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to