How to get the x & Y coordinates of a view

后端 未结 0 1762
自闭症患者
自闭症患者 2021-01-03 02:34

I have placed an image view in my layout, now i need to know its x & y coordinates to draw some stuff over it dynamically.

I tried imageView.getTop(

相关标签:
回答
  • 消灭零回复
提交回复
热议问题