title: Android: Draw shape with skewed corner
body: <p>I want to use a background for my buttons. But when I use a png it slows down the app. Therefore I want to use a xml shape but I do not know how to make the corner cut (like on the picture).
  <a href="https://i.stack.imgur.com/Z625q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z625q.png" alt="enter image description here"></a></p>
  
  <p>By now I have the following shape which is just a rectangle:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid android:color="@color/blue_semi_transparent"/&gt;
      &lt;padding android:bottom="10dp" android:right="10dp" android:top="10dp" android:left="10dp"/&gt;
      &lt;margin android:bottom="10dp" android:right="10dp" android:top="10dp" android:left="10dp"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>How can I draw the bottom right corner?</p>