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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -