title: How to auto mirror a shape in Android XML
body: <p>I have a custom card like shape as below.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;
  
      &lt;solid android:color=&quot;?attr/colorListItemBackground&quot; /&gt;
  
      &lt;corners
          android:bottomLeftRadius=&quot;16dp&quot;
          android:topLeftRadius=&quot;16dp&quot; /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  <p>My app also supports RTL languages, thus changing to RTL, this shape does not change(Auto Mirror).</p>
  <p>What changes can I do to make it an auto mirror?</p>
  <p>Notice the rounded corners near the circle.
  <a href="https://i.stack.imgur.com/Zo4Kd.png" rel="nofollow noreferrer">LTR_Image</a></p>
  <p>The rounded corners still in the same place.
  <a href="https://i.stack.imgur.com/LocRb.png" rel="nofollow noreferrer">RTL_Image</a></p>