title: how to make oval button in android?
body: <p>i have this button i saw on a website and I want to recreate it in xml. But, i cannot get the dimensions right to match it exactly. Below is the code i have so far, but it's not matching the shape exactly. hope someone can help!</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid
          android:color="@color/white"&gt;&lt;/solid&gt;
      &lt;corners
          android:radius="600dp" /&gt;
      &lt;padding
          android:left="10dp"
          android:top="10dp"
          android:right="10dp"
          android:bottom="10dp" /&gt;
      &lt;stroke
          android:width="3px" android:color="@color/salmon_main"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/wSu4p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wSu4p.png" alt="enter image description here"></a></p>