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);
2.1m questions
2.1m answers
60 comments
57.0k users