-3

I am handling secondary display from an application developed in the Android Studio using presentation class. Now I want to control the screen orientation like setting portrait and landscape. I am able to set the orientation for the primary display but not the secondary display. My XML file is covering the entire display not according to orientation. Is there any way to do this?

ankuranurag2
  • 2,300
  • 15
  • 30

1 Answers1

0

I'm not sure whether will this work, just give it a try. since Presentation is a Dialog, you may not be able to handle rotation of it. but you can handle the rotation of its base activity. which might affect the rotation of presentation.

Hope this helps!

Lakshan Dissanayake
  • 521
  • 1
  • 4
  • 18