RadaeePDF.com :: Topic: How to hide "button" search, Outlines, Print (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Planned SDK features

TOPIC: How to hide "button" search, Outlines, Print

How to hide "button" search, Outlines, Print 6 months 3 weeks ago #11939

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);

Capture2.png
Last Edit: 6 months 3 weeks ago by joakim.andersson@ju.se.
The administrator has disabled public write access.

How to hide "button" search, Outlines, Print 6 months 3 weeks ago #11940

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 47
  • Karma: 14
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.
The administrator has disabled public write access.
Powered by Kunena Forum