title: How to Draw Arrowline in android.graphics.Path with correct configerations
body: <p><strong>What I have Tried:</strong></p>
  
  <p>I'm trying to display the arrow line with following code</p>
  
  <pre><code>Path mArrowPath=new Paint();;
  mArrowPath.rewind();
  mArrowPath.moveTo(0, mHeight / 2);
  mArrowPath.lineTo(mWidth / 2, 0);
  mArrowPath.lineTo(mWidth, mHeight / 2);
  mArrowPath.lineTo(mWidth * 3 / 4, mHeight / 2);
  mArrowPath.lineTo(mWidth * 3 / 4, mHeight);
  mArrowPath.lineTo(mWidth / 4, mHeight);
  mArrowPath.lineTo(mWidth / 4, mHeight / 2);
  mArrowPath.lineTo(0, mHeight / 2);
  
  Shape pathshap = new PathShape(mArrowP,maxWidth,maxHeight);
  
  ShapeDrawable shapeD = new ShapeDrawable(pathshap);
  
  shapeD.draw(canvas); //display it in onDraw(Canvas canvas)
  </code></pre>
  
  <p>I have got the following result </p>
  
  <p><img src="https://i.stack.imgur.com/kHG2l.png" alt="enter image description here"></p>
  
  <p><strong>Problem:</strong></p>
  
  <p>I'm not able draw the required expected result, I'm failed to understand/find  path configuration parameters for displaying following result!
  I'm failed to increase the <strong>length</strong>, <strong>width</strong> size  of the arrow line.</p>
  
  <p><strong>Expected result:</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/hhN7s.png" alt="enter image description here"></p>
  
  <p>any help will be grateful !  </p>