title: setting screenOrientation to portrait doesn't work
body: <p>I want to run my app in portrait mode, I'm aware this isn't best practice but there are reasons to do this. and while I have disabled the rotation it still is able to rotate on some views will it doesn't on others.</p>
  
  <p>I have this part of code in my Android Manifest:</p>
  
  <pre><code> &lt;activity
          android:name="&lt;name&gt;.app.MainActivity"
          android:label="@string/app_name"
          android:configChanges="keyboardHidden|keyboard|locale|orientation"
          android:screenOrientation="portrait"&gt;
  </code></pre>
  
  <p>I'm using fragments to show different containers depending on user input.</p>
  
  <p>this is the only activity that has fragments.
  I have tried a few solutions on this site. including setting portrait mode on by code</p>