Could you make this method is compatible with PDFLayoutView, if i use the PDFreader class then my other layouts does not work . I tried to add the text by using PDFReader as its lack of many methods for example (m_view.vGetPage ,m_view.vGetX(), m_view.vGetY() .. etc )
No redo and undo methods in PDFreader so cant use this class . I wanted maximum functionality that is available in only PDFLayoutView class . or in PDFLayoutListener class .
Please provide the methods for these class . I tried to above method with public boolean onSingleTapUp(MotionEvent e) function of PDFLayoutListener but nothing work
I just managed to do that using the PDFLayoutView class. You need to change the method "public boolean onSingleTapUp(MotionEvent e)" of the PDFGestureListener to make that work.
When single tapping a text annotion this method is displaying an edit text by standard. I changed that so it has the same behaviour when tapping on a stamp: you can move the text annotation around like the stamp.
In the attachment you find my class with the changes. I also modified other functions in that class to suit my needs. So be careful when using it.