How can I change the layout on my activity
<p>In need to keep my activity (not destroyed when orientation change). So I put this in my manifest file:</p>

<pre><code>&lt;activity
            android:name="MyActivity"
            android:configChanges="orientation|keyboard|keyboardHidden"&gt;
        &lt;/activity&gt;
</code></pre>

<p>My question is how can I make it to switch to a new layout whenever it is switch to landscape mode? Putting a layout file in layout-land or layout-port does not work.</p>

<p>Thank you.</p>
