-1

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.

Vasant
  • 3,475
  • 3
  • 19
  • 33

1 Answers1

1

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

IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
  • 1
    I seen SimpleTagImageView demo.but ,I want to tag username over image co-ordinate position Like Facebook tagging. – Vasant Aug 04 '15 at 05:12