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!
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);