title: How to make a rounded dashes or dots for line drawable shape
body: <p>Is there a way that can I make the cap/dot rounded, like in the attached picture?</p>
  
  <p><a href="https://i.stack.imgur.com/I0Y7l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I0Y7l.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;shape
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="line"&gt;
  
      &lt;stroke 
      android:width="2dp"
      android:color="@color/grey"
      android:dashWidth="3dp"
      android:dashGap="3dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <h2>NOTE</h2>
  
  <p>Guys, I know how to make a dotted line, I'm asking how to make a "rounded" dashes.!! look at this picture from Adobe XD to know what I mean..!</p>
  
  <p><a href="https://i.stack.imgur.com/STwpJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/STwpJ.png" alt="enter image description here"></a></p>