title: Rounded corners for vector asset android studio
body: <p>I am trying to get a <code>.xml</code> vector asset to have rounded corners. I have the following code that's a flag, but with straight corners, and for a better visual effect I would need the corners to be rounded. I have tried to add <code>&lt;corners ..... /&gt;</code> inside the <code>&lt;path .. /&gt;</code> but there was no change</p>
  
  <p>.xml : </p>
  
  <pre><code>&lt;vector android:height="15dp" android:viewportHeight="15"
  android:viewportWidth="21" android:width="21dp"
  xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;path android:fillType="evenOdd" android:pathData="M0,0h21v15h-21z"
      android:strokeColor="#00000000" android:strokeWidth="1"&gt;
      &lt;aapt:attr name="android:fillColor"&gt;
          &lt;gradient android:endX="10.5" android:endY="15"
              android:startX="10.5" android:startY="0" android:type="linear"&gt;
              &lt;item android:color="#FFFFFFFF" android:offset="0"/&gt;
              &lt;item android:color="#FFF0F0F0" android:offset="1"/&gt;
          &lt;/gradient&gt;
      &lt;/aapt:attr&gt;
  &lt;/path&gt;
  &lt;path android:fillType="evenOdd" android:pathData="M10,0h11v15h-11z"
      android:strokeColor="#00000000" android:strokeWidth="1"&gt;
      &lt;aapt:attr name="android:fillColor"&gt;
          &lt;gradient android:endX="15.5" android:endY="15"
              android:startX="15.5" android:startY="0" android:type="linear"&gt;
              &lt;item android:color="#FFE5253D" android:offset="0"/&gt;
              &lt;item android:color="#FFCC162C" android:offset="1"/&gt;
          &lt;/gradient&gt;
      &lt;/aapt:attr&gt;
  &lt;/path&gt;
  &lt;path android:fillType="evenOdd" android:pathData="M0,0h7v15h-7z"
      android:strokeColor="#00000000" android:strokeWidth="1"&gt;
      &lt;aapt:attr name="android:fillColor"&gt;
          &lt;gradient android:endX="3.5" android:endY="15"
              android:startX="3.5" android:startY="0" android:type="linear"&gt;
              &lt;item android:color="#FF0A3D9C" android:offset="0"/&gt;
              &lt;item android:color="#FF042E7D" android:offset="1"/&gt;
          &lt;/gradient&gt;
      &lt;/aapt:attr&gt;
  &lt;/path&gt;
  &lt;path android:fillType="evenOdd" android:pathData="M7,0h7v15h-7z"
      android:strokeColor="#00000000" android:strokeWidth="1"&gt;
      &lt;aapt:attr name="android:fillColor"&gt;
  
          &lt;gradient android:endX="10.5" android:endY="15"
              android:startX="10.5" android:startY="0" android:type="linear"&gt;
  
              &lt;item android:color="#FFFFD955" android:offset="0"/&gt;
              &lt;item android:color="#FFFCD036" android:offset="1"/&gt;
          &lt;/gradient&gt;
      &lt;/aapt:attr&gt;
  &lt;/path&gt;
  </code></pre>
  
  <p></p>