title: Android Graphics Path() disappearing
body: <p>I'm drawing a custom shape using the path method, but it performs differently than is displayed. </p>
  
  <p>As displayed in the Layout: <img src="https://i.imgur.com/VtiBI1N.png" alt="expected"></p>
  
  <p>On the device: <img src="https://i.imgur.com/PxWWc8i.png" alt="actual"></p>
  
  <p>This only happens when the angle at the left vertex becomes too small. If I widened the shape, such that it became a regular diamond, the entire shape appears (regardless of size).</p>
  
  <p>Here's the code:</p>
  
  <pre><code>final Path p = new Path();
  
  p.moveTo(x, y);
  p.lineTo(x - height / 16, y - 20);
  p.lineTo(x - width / 3, y);
  p.lineTo(x - height / 16, y + 20);
  
  p.close();
  
  canvas.drawPath(p, mThumbColorPaint);
  </code></pre>
  
  <p>Can anyone enlighten me?</p>