title: Max value for rectangle's rounded corners in Android
body: <p>I am trying to get a shape as shown in figure, a rectangle with corners completely round:
  <img src="https://i.stack.imgur.com/7j60d.png" alt="enter image description here"></p>
  
  <p>But it seems I can't get corners "rounder" than in this figure:</p>
  
  <p><img src="https://i.stack.imgur.com/734TO.png" alt="enter image description here"></p>
  
  <p>Why is that? there is a max value for <code>&lt;corners android:radius="integer" /&gt;</code>?
  Of course I could do that with a png, but I suppose using a shape is more efficient, so I would prefer that.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;Button
      android:id="@+id/button_guest"
      android:layout_width="315dp"
      android:layout_height="80dp"
      android:background="@drawable/rounded_rectangle"
      android:contentDescription="@string/text_button_guest"
      android:onClick="startGuestMode"
      android:text="@string/text_button_normal"
      android:textAllCaps="false"
      android:textColor="#ff000000"
      android:textSize="50sp"
      android:layout_marginLeft="125dp"
      android:layout_marginStart="125dp"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true" /&gt;
  </code></pre>
  
  <p>rounded_rectangle.xml:</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="#ffffff" /&gt;
      &lt;corners
          android:radius="40dp" /&gt;
  &lt;/shape&gt;
  </code></pre>