Android rounding corners in layout with different radius values
<p>I'm trying to make an intention which has a transparent background, and a solid foreground with some basic info and rounded corners.
Currently I can use a shape with a rounded corners if all the corners are the same radius using</p>

<pre><code>&lt;corners android:radius="20dp" /&gt;
</code></pre>

<p>But if I try to have, say, just the bottom rounded like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"&gt;
&lt;solid
android:color="#cccccc" /&gt;
&lt;corners android:radius="20dp" android:topLeftRadius="0dp"
    android:topRightRadius="0dp" 
    android:bottomLeftRadius="20dp"
    android:bottomRightRadius="20dp" /&gt;
&lt;/shape&gt;
</code></pre>

<p>or anything similar, then I get an error in my layout which says</p>

<blockquote>
  <p>layout.xml: java.lang.UnsupportedOperationException</p>
</blockquote>

<p>any suggestions?</p>
