Some test text!

UI componentskeyboard_arrow_down

UI components

The highly configurable all-in-one document reader and PDF editor that comes with the PDFTron Android SDK is composed of Material Design UI components that are available in the tools package. These components can be used as part of your application to create customizable UI that interact with the document viewer. A visual reference for these components is shown below:

components overview
KeyUI ComponentDescription
1PDFViewCtrlPDFViewCtrl is a ViewGroup that can be embedded in any layout. It encapsulates a rich set of functionalities for interactive viewing of documents
2Text searchSearch text in a document
3Share documentShare a document from your app
4View mode dialogAllows users to: pick page presentation mode, select page color mode, rotate pages, and crop pages
Crop pages dialogManually or automatically crop pages in a document
ReflowExtract the reflowable layout of each page in a document to an HTML file
5Add pages dialogAdd new pages to an existing document or create a new document with new pages
Rotate pages dialogRotate pages of the opened document by 90, 180 and 270 degrees
6Thumbnail browserEdit pages of a document including add, remove, re-arrange, rotate and duplicate pages
7Page sliderA LinearLayout that contains an AppCompatSeekBar to change pages
8List containerA horizontal layout to display the Annotation list, Document outline, and User-defined bookmark list in separate tabs
Annotation listShows a list of all annotations in a document
Document outlineShows a document outline (PDF Bookmark) that can be used to navigate the document
User bookmark listShows a list of user-defined bookmarks that can be used to navigate the document
9Annotation toolbarA toolbar consisting of various annotation creation tools
10Quick menuA convenient annotation popup menu that appears when a user long-presses on a blank space or on text
11Annotation style editorDisplays annotation style properties in a bottom sheet for the user to edit

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.