Android code for fix orientation of android apps

How to fix orientation of android apps.
Android code fix orientation of android apps portrait.
Android code fix orientation of android apps landscape.

Portrait:-

For fix orientation of android apps portrait goto AndroidManifest.xml and following code

android:screenOrientation="portrait"




Landscape:-

For fix orientation of android apps landscape goto AndroidManifest.xml and following code

android:screenOrientation="landscape"


Leave reply

Add your comments here

Back to Top