title: Rotate of 90 degrees a Dialog / AlertDialog created by the system?
body: <p>Does it exists a way to apply a rotation (of 90 degrees) to an AlertDialog that has been created by the system? </p>
  
  <p>This could seem tricky at first sight. My application uses the camera in preview and must work in landscape <strong>AND</strong> in portrait, starting from Android 1.5.</p>
  
  <p>However, when the OS automatically manages the phone orientation, the previewed image is not displayed in the same way on all phones! (I have tested with an Android Dev Phone 1 = G1, a HTC Desire and a Samsung Galaxy). When I fixed the issue on the G1, the issue occurs on the Desire....</p>
  
  <p>The only way to fix it on all phones consists in forcing the application to stay in landscape (<em>android:screenOrientation="landscape"</em> in the <em>AndroidManifest.xml</em>) and to manage to apply a rotation of 90° to each displayed element so that the UI will be in portrait from the user point of view.</p>
  
  <p>However, system dialogs must also undergo a rotation.</p>
  
  <p>So my question is : <strong><em>is it possible to change the orientation of an AlertDialog created by the system, maybe using a tricky way ?</em></strong></p>
  
  <p>If not, I know how to do it using a custom layout, but I will lose the system style.</p>