title: How can I have an app in portrait mode with only one DialogFragment that can change orientation?
body: <p>I have an application with one <code>Activity</code> and some <code>Fragments</code> in it. I want my app in portrait mode, but there is one <code>DialogFragment</code> that must detect orientation, and changes its layout accordingly.</p>
  
  <p>How can I do that?</p>