title: Set imageview on an angle, occupying whole width of screen. android:rotation leaves space on both sides
body: <p>I'm trying to make something like this : </p>
  
  <p><a href="https://i.stack.imgur.com/QwFrh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QwFrh.png" alt="enter image description here"></a></p>
  
  <p>Went through several answers on stackOverflow and lots of links on google and found nothing but using the attribute "android:rotation" but that is not what I want. Applying Rotation attribute gives me something like this : </p>
  
  <p><a href="https://i.stack.imgur.com/Gb1Vn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gb1Vn.png" alt="enter image description here"></a></p>
  
  <p>used:</p>
  
  <pre><code>&lt;ImageView
      android:layout_width="match_parent"
      android:layout_height="100dp"
      android:rotation="5"
      android:id="@+id/imageView" /&gt;
  </code></pre>
  
  <p>And this is certainly not what I want. Is there any other way ?</p>