title: Where to check for orientation change in an android fragment
body: <p>In my app, I have a <code>FragmentActivity</code> with multiple <code>Fragment</code>s all in portrait mode except for one specific <code>Fragment</code>. I move between <code>Fragment</code>s through footer <code>View</code>s in the <code>FragmentActivity</code>. </p>
  
  <p>I have a different layout (actually have the same name but different widget <code>View</code>s) for this specific <code>Fragment</code> when there is an orientation change. When in landscape mode, I want to remove specific widgets from the <code>Fragment</code> layout <code>View</code> and the footer <code>View</code> of the <code>FragmentActivity</code> and when back in portrait, add everything back. </p>
  
  <p>I have saved all the data I need in <code>onSavedInstanceState()</code> in the <code>Fragment</code>, but where best should I possibly test for an orientation change so that I can restore the <code>View</code>s appropriately?</p>
  
  <p>Not sure I can override <code>onConfigurationChange()</code> and test there in my <code>Fragment</code> because I don't have the <strong>android:configChanges="orientation"</strong> in my android <code>Manifest</code>. </p>