Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6717 Reply

    Leonardo Yvens

    Hello,

    I’m trying to follow step 1 in this blog post:
    https://plugpdf.com/how-to-customize-navigation-tool-bars-on-android/

    To disable buttons on the navigation bar. But I can’t find the init() method or where I should put this code:
    mEditButton.setVisibility(View.GONE);
    mRotateButton.setVisibility(View.GONE);

    Thanks for the help.

    #6729 Reply

    Dr. Plug
    Moderator

    Hello Leonardo Yvens,

    Sorry for inconvenience, init() method is present in “SimpleReaderControlView.java” under the PlugPDF project, which you already have.
    Hope it helps you.

    Thank you
    Dr. Plug

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Android – Disabling items in navigation bar
Your information: