Stamp annotations

I am adding stamp annotations in my pdf doc. I want them to be selected by default when I add them.

I want them to be out of focus when selecting out of the box.

Basically, I think onSingleTapConfirmed has to do something with it

Any ideas?

If you want to have a newly added annotation selected (similar to what we have for other tools such as line/rectangle etc.), you will need to set mNextToolMode to ToolManager.e_annot_edit.

See any of the annotation creation tools for an example (such as

To deselect an annotation, set mNextToolMode to ToolManager.e_pan.