Imagine that your activity (forced!) in portrait mode, and you will see a dialog from there, but in landscape mode (because it contains a view larger than the screen width), how do you do it?
I think the screen orientation on the screen depends on its hosting / service.
Is there another way? (for example, the default forced orientation for the dialog box above its xml file layout?)
source share