title: Simple ImageView Rotation
body: <p>I am using this xml code to rotate an imageVeiw 180 degrees:</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/keyP2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@+id/btn4"
      android:layout_centerHorizontal="true"
      android:adjustViewBounds="true"
      android:rotation="180"
      android:maxWidth="125dp"
      android:scaleType="fitCenter"
      android:src="@drawable/image0_key" /&gt;
  </code></pre>
  
  <p>This works fine for android api version 11 and up, but <code>android:rotation="180"</code> is not supported below api 11. How can I rotate an imageView 180 degrees for below 11?</p>