'get location on view of image when i add childview

Help me, How to get x,y of image view in pdfview?

  • pdf view: 1080x1390
  • Main view: 1080x2044
  • imageView.getX() = 146, imageView.getY() = 1350 I have added image view into pdfview by addView. But i get x,y of image view on window view. enter image description here


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source