I have created an Activity A, which is blocked from rotating. I have
implemented this by adding android:screenOrientation="portrait" in the
AndroidManifest.xml

I have tested the app, Activity A didn't enter landscape mode when I
rotated the phone, everything worked fine.

Then I created another Activity B, which is a 'Dialog theme' Activity.
Inside Activity A, I called

startActivity(new Intent(this, B.class));

Now Activity A is behind Activity B, but still visible. At this point,
if I rotated the phone, both Activity B and Activity A were rotated
into landscape mode. android:screenOrientation="portrait" doesn't work
on Activity A any more.

Is this a bug? Or did I do something wrong?

-- 
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

Reply via email to