Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Planned SDK features
  • Page:
  • 1

TOPIC:

How to hide "button" search, Outlines, Print 7 years 2 months ago #11939

  • joakim.andersson@ju.se
  • joakim.andersson@ju.se's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
I use this code to open pdf on Android. -How to hide "button" search, Outlines, Print

Intent intent = new Intent(getActivity(), com.radaee.reader.PDFViewAct.class);
intent.putExtra("PDFPath", file.toString());
intent.putExtra("PDFPswd", "");
startActivity(intent);

Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by joakim.andersson@ju.se.

How to hide "button" search, Outlines, Print 7 years 2 months ago #11940

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you can hide them programmatically in PDFViewController doing something like that :
btn_view.setVisibility(View.GONE);
btn_find.setVisibility(View.GONE);
btn_outline.setVisibility(View.GONE);
btn_print.setVisibility(View.GONE);

btn_annot.setVisibility(View.GONE);
btn_select.setVisibility(View.GONE);
btn_undo.setVisibility(View.GONE);
btn_redo.setVisibility(View.GONE);

Or hide them directly in the bar_cmd.xml.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum