1in the manifest, set as attribute of the node activity the code below:
2android:screenOrientation="landscape"
3
4Also, in you MainActivity Class, inside the onCreate method, after the super call type:
5setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);