i want to use landscape mode for xml which are in layout-large and portrait for the xml which are in the layout
<p>I want to use landscape mode for xml which are in layout-large and portrait for the xml which are in the layout.
I have used <code>android:screenOrientation = "portrait"</code> in all xml which are in layout and <code>android:screenOrientation = "landscape"</code> for layout-large xml.it works fine for tablet that it is restrict to the landscape mode but not restrict only portrait mode for android phone.</p>

<p>Please help me.</p>
