Move items from bottom bar to overflow menu

Product: Android PdfTron viewer

Product Version: 9.1.0

Please give a brief summary of your issue:
Need help moving items from the bottom bar to the overflow menu

Please describe your issue and provide steps to reproduce it:
I am trying to customize the UI such that there is no bottom bar, but I can still use search, reflow, and thumbnail viewer. I want those options to appear in the overflow menu.
I’ve disabled the bottom bar with ViewerConfig.Builder().showBottomToolbar(false), but the menu items that would appear there are just gone.
Most of the other options I have disabled (like share, print, save, etc.), so there won’t be too many things in the overflow menu.

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hi There,

You can achieve this by creating a custom overflow menu and calling the associated functions in onToolbarOptionsItemSelected.
I have created some sample code showing you how you can achieve this using our custom UI project here.

Please let us know if you have any issues.

Best Regards,

Looks perfect, thank you!

1 Like