I am new in android
,i want to do zoom image
and tagging name on actual position on image
.if I zoom image then position of tagged text
should not change.tagged text
would stick with in position on image
.
Help me.thanks in advance.
I am new in android
,i want to do zoom image
and tagging name on actual position on image
.if I zoom image then position of tagged text
should not change.tagged text
would stick with in position on image
.
Help me.thanks in advance.
You can check position like this way,
mView.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
float x = event.getX();
float y = event.getY();
}
});
For demo purpose,check demo git SimpleTagImageView