title: How to lock activity orientation without locking fragment orientation?
body: <p>everyone! My question is inverted version of  <a href="https://stackoverflow.com/questions/20370636/how-to-lock-fragment-orientation-without-locking-activity-orientation">How to lock fragment orientation without locking activity orientation?</a> , but nothing from there have worked for me.</p>
  
  <p>The point is, that I have a camera app, where camera preview lays in activity, and an overlay with settings and other stuff - in fragment, like this:</p>
  
  <pre><code>&lt;RelativeLayout    
  android:id="@+id/main_layout"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  android:weightSum="1"&gt;
  
  &lt;FrameLayout
      android:id="@+id/surfaceView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
  
      /&gt;
  
  &lt;FrameLayout
      android:id="@+id/overlayContainer"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>So, I want to lock <strong>camera preview orientation</strong>, while keeping overlay orientation unlocked (as in camera apps in samsung, or sony smartphones).</p>
  
  <p>Thanks in advance.</p>