title: Create triangle with rounded corners
body: <p>I need to create triangle with rounded corners. Here is my code</p>
  
  <p>
  </p>
  
  <pre><code>&lt;item android:gravity="center"&gt;
      &lt;rotate
          android:fromDegrees="45"
          android:pivotX="-40%"
          android:pivotY="87%"
          android:toDegrees="45" &gt;
          &lt;shape android:shape="rectangle" &gt;
              &lt;corners android:radius="2dp"/&gt;
              &lt;solid android:color="#ffffff" &gt;
              &lt;/solid&gt;
  
              &lt;stroke
                  android:color="#ffffff" /&gt;
  
          &lt;/shape&gt;
  
      &lt;/rotate&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>with my code only one side of triangle is rounded, other two corners not rounded. Please help me to create triangle all corners rounded.</p>