on-internet
← Community

Android - get imageView XY coordinates

Stack Overflow ·

I need to know XY coordinates of an ImageView. This coordinates will be used to position a new ImageView on an RelativeLayout overlay that should have the same position of starting ImageView. Summerize: 1) ImageView1 = getcoordinates XY 2) button click 3) Overlay RelativeLayout that cover entire window. ImageView1 will be behind this RelativeLayout overlay 4) Create ImageView2 in RelativeLayout overlay that should be positioned exactly on ImageView1 Any help? Thanks

Comments

Sign in or sign up to comment and upvote.

No comments yet.