title: How do i draw a REAL dotted line in android
body: <p>I am trying to draw a dotted line as a separator for a <code>ListView</code> divider item, as shown here:
  <img src="https://i.stack.imgur.com/aQ3vc.png" alt="enter image description here"></p>
  
  <p>In order to do that, in one of the cases I have overridden the <code>OnDraw()</code> method and used: </p>
  
  <p><code>paint.SetPathEffect(new DashPathEffect(new[] { 2f, 2f }, 0));</code></p>
  
  <p><code>_paint.StrokeWidth = 2;</code></p>
  
  <p>Using <code>DashPathEffect</code> dows draw small dots - but they are not dots - they are small squares rather than rounded dots:</p>
  
  <p><img src="https://i.stack.imgur.com/VqZbS.png" alt="enter image description here"></p>
  
  <p>The app is built using monodroid on Xamarin's framework</p>
  
  <p>Any thoughts?</p>