I never find this issue. maybe you could supply more code. On Oct 7, 8:50 pm, Simon <[email protected]> wrote: > Hi, > > I have an activity that I have two layouts defined for: one for > landscape and one for portrait. So in my layout folder I have > activity.xml and activity_landscape.xml. When I am switching around > orientation on my device the proper layout is loading on orientation > change. However, if I am in landscape mode, and then launch this > activity from another activity, the portrait layout is rendered, even > though the device is in landscape mode. I am launching the activity > using the following: > > Intent i = new Intent(OtherActivity.this, Activity.class); > startActivityForResult(i, ACTIVITY_X); > > Does anybody have any ideas for why this could be happening? Seems > strange that it would work except for on initial load of the activity. > > Thanks, > > Simon
-- 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

