I am setting the orientation with setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE)
However when I check for the orientation before setting this up using Activity.getResources().getConfiguration().orientation
I am getting value 1 which is potrait.
Then I set the orientation with the code. Still I am getting the value 1, also the android system is looking in Layout folder(potrait) for the layout rather than layout-large-land. So conclusion is, How to force set the orientation to Landscape?