How to can set sticky annotation tool button on right of toolbar?

Product: React Native Pdftron

Product Version: latest

Hi support team, I have an issue when want to set a sticky annotation button on the right of the toolbar. I had tried using addLeadingStickyButton but this set the annotation button on the left, so how to can set it on the right like my design?
Screen Shot 2022-09-13 at 00.40.19

Hi there,

In iOS native code you can achieve this by adding the item to the first Index of PTToolGroupToolbar.trailingItems instance property. Where the items are displayed in the same order as in the array.
So if they want to add a button to the left of the undo & redo buttons, they’d want to prepend it to the front of the array.

Please let us know if this works for you or you have any other questions or concerns.

Best Regards,
Sahil Behl.

So with android how to can config this ?

Hi Nhựt,

For android please refer to the discussion on this ticket here: https://support.pdftron.com/support/tickets/35931

Best Regards,
Sahil Behl