it is possible to set the orientation of an activity in the manifest file.
but is it also possible to do it from code? if so, how?
thanks!
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With