Layout orientation?
<p>I made 2 layout , the first one for android 2.1 ( I need it only in <code>portrait</code>) and second one for android 3 ( I need it only in <code>landscape</code>) and these 2 layout use one class . now how can i set these two layout on landscape and portrait? if i set it in <code>AndroidManifest</code> , i can just use one of these mode <code>portrait</code> or <code>landscape</code> , just it ,</p>

<p>we can't use:</p>

<pre><code>&lt;activity android:name=".activity" android:screenOrientation="portrait"&gt;&lt;/activity&gt;
</code></pre>

<p>now which method is true?</p>

<p>Thanks</p>
