title: Detect all 4 rotations of device in android
body: <p>I have an activity which is in Portrait mode only.
  Inside which I have an image, which I have to rotate in four directions according to the rotation of the device.</p>
  
  <p>What I want is I want to detect the four orientations of the device So that I can rotate the image accordingly.</p>
  
  <p>With the current API I could detect only LANDSCAPE and PORTRAIT.</p>
  
  <p>I was using OrientationChanged Method.</p>