title: Set activity screen orientation using styles
body: <p>I'm trying to set activity screen orientation using a styles:</p>
  
  <p>Here is the styles.xml:    </p>
  
  <pre><code>...
  &lt;style name="Some.Activity" parent="android:Theme"&gt;
    &lt;item name="android:screenOrientation"&gt;portrait&lt;/item&gt;
  &lt;/style&gt;
  ...
  </code></pre>
  
  <p>and here is activity declaration in AndroidManifest.xml:</p>
  
  <pre><code>&lt;activity android:name="SomeActivity" android:theme="@style/Some.Activity"/&gt;
  </code></pre>
  
  <p>and it doesn't work.<br>
  I know that I can just set </p>
  
  <pre><code>&lt;activity android:name="SomeActivity" android:theme="@style/Some.Activity"
      android:screenOrientation="..."/&gt;
  </code></pre>
  
  <p>in the manifest, but its important to me to do that using a theme.<br>
  Ideas?</p>