I am trying to use different layouts for different screen resolution
and I have successfully done it.
My problem is, I need only Landscape orientation for Large and Xlarge Layouts
and Portrait for Normal and Small. I am using only Layout-large-land and Layout-xlarge-land in my
res folder, it takes portrait also.Similarly for Normal and small it takes portrait along with
landscape. So How do i do that programatically set the orientation according to screen resolution
in java files??
Can someone help me??