Please give a brief summary of your issue:
We followed PDFTron And customized the quick menu, we need to customize further submenu.
Please describe your issue and provide steps to reproduce it:
Add only opacity submenu item for tools_qm_appearance . We need to customize the submenu .
We created a quick menu using
val styleItem = QuickMenuItem(
activity, R.id.qm_appearance,
QuickMenuItem.FIRST_ROW_MENU
)
styleItem.setIcon((R.drawable.ic_color_lens_black_24dp))
styleItem.setTitle(R.string.tools_qm_appearance)
Now how to customize the sub menu to add only the opacity parameter.
Please provide a link to a minimal sample where the issue is reproducible: