java - Get X/Y coordinates on ImageView touch -
so, need coordinates of touch on imageview. i have tried coordinates in ontouchlistener event. not need. the problem resolution of screen lower resolution of picture in imageview. how actual coordinates (maybe pixels) of image? android: how x y coordinates within image / imageview? imageview.setonclicklistener(new onclicklistener() { @override public void onclick(view view) { int[] values = new int[2]; view.getlocationonscreen(values); log.d("x & y",values[0]+" "+values[1]); } }); something this?