Some test text!

3. Customizekeyboard_arrow_down

Customizing Android document viewer

After you have added PDFTron to your project and added a document viewer, learn how to customize it for your app.

linkCustomize a document viewer

PDFTron includes DocumentActivity and PdfViewCtrlTabHostFragment for showing documents. To customize their appearance and function, see Customizing a document viewer.

PDFTron also includes a low-level ViewGroup (PDFViewCtrl) to show documents. If you are using it, please see Customizing a PDFViewCtrl.

linkCustomize individual components

PDFTron includes a rich set of controls. They are used by the DocumentActivity and PdfViewCtrlTabHostFragment, and can also be used independently. To learn more about them, please see a detailed list of each component here.

linkCustomize how users interact with annotations

Annotation and PDF interaction is implemented within the open-source tools package. This includes annotation creation & selection, text selection, form filling, link following, etc.

linkCustomize annotation appearances

To change the way an annotation appears, see the Custom annotation appearance guide.

linkCustomize by modifying the source code

PDFTron's tools and demo package shown here are completely open source. Any and all changes are possible by editing the source code directly. All source code can be found in /lib/src.

You can also integrate with source code directly in your application for easy code modification as described here: How to integrate the PDFTron libraries from source.

linkNext step

GuidesAPI docsSamples

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.