Android orientation issue -
I have an application that only works in landscape orientation I had set it in XML layout when I started the application It works fine. But when the application starts and the next time I lock the phone and then unlock, the application is in the first 1-2 second portrait mode and then in the scenario. Is it possible to leave 2 seconds?
Define it clearly in your manifest android: screenorientation = "portrait"
every & gt; Activity & gt;
Add element.
Comments
Post a Comment