title: How to convert coordinates received from CursorAnchorInfo class to Screen coordinates?
body: <p>When I am trying to access input field cursor x and y coordinates through CursorAnchorInfo class, I am receiving local relative coordinates and I need to convert that coordinates into screen coordinates.</p>
  
  <p>I have checked for Matrix class to convert the coordinates to screen coordinates.</p>
  
  <pre><code>        float[] arr = new float[2];
          arr[0] = cursorAnchorInfo.getInsertionMarkerTop();
          arr[1] = cursorAnchorInfo.getInsertionMarkerHorizontal();
          Matrix invertMatrix = new Matrix();
          cursorAnchorInfo.getMatrix().mapPoints(arr);
  </code></pre>
  
  <p>But above approach couldn't help me in getting correct coordinates.</p>