Android drawable oval shape with center out of bound <p>I'm willing to declare a xml drawable with semi-circle. So the center of the oval is out of the bound: <a href="https://i.stack.imgur.com/Ot43c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ot43c.png" alt="what i want"></a> </p> <p>I tried doing it with scale tag but i can't get it to work, here is what i have done.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item&gt; &lt;scale android:scaleGravity="center"&gt; &lt;shape android:shape="ring"&gt; &lt;stroke android:width="2dp" android:color="#C8C8D7"/&gt; &lt;size android:width="300dp" android:height="300dp"/&gt; &lt;/shape&gt; &lt;/scale&gt; &lt;/item&gt; &lt;/layer-list&gt; </code></pre> <p>But it doesn't work.</p>