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
Constructors
Link copied to clipboard
Creates a popup toolbar on the given PdfFragment.
Types
Link copied to clipboard
interface OnPopupToolbarItemClickedListener
Listener for menu item clicks.
Functions
Link copied to clipboard
Gets menu items currently displayed in this popup toolbar.
Link copied to clipboard
Called when the menu item has been clicked.
Link copied to clipboard
Sets menu items to be displayed in this popup toolbar.
Link copied to clipboard
open fun setOnPopupToolbarItemClickedListener(@Nullable onPopupToolbarItemClickedListener: PopupToolbar.OnPopupToolbarItemClickedListener)
Sets the listener for popup toolbar menu item clicks.