Popup Toolbar
A class used for displaying a toolbar as a popup. It's a remake of a default Android text selection toolbar, where the items are displayed horizontally, with overflow button if there are items that don't fit the screen. Then once the overflow button is pressed, the toolbar displays other items vertically, with back button on the bottom to return to the main items.
Inheritors
Types
Utility methods for PopupToolbar.
The default item handler type for this toolbar.
Listener for menu item clicks.
Properties
Functions
Called when the menu item has been clicked. When overriding this method, make sure you call super() so that the OnPopupToolbarItemClickedListener and the default item handler are invoked correctly.
Sets the default item handler for this toolbar. This handler is called when a menu item is clicked and the OnPopupToolbarItemClickedListener did not consume the event. Internal SDK code uses this to provide built-in behavior for standard menu items.
Sets the listener for popup toolbar menu item clicks.
Show the popup toolbar at the specified page index with possible X and Y offsets. Leaving offset parameters at 0, the toolbar will be displayed so that its center matched the given coordinate horizontally, and that bottom of the toolbar matches the coordinate vertically. Noticeably, all offsets are represented in PDF values.