Customizing our PDF viewer on Android
Nutrient Android SDK makes it easy to customize every part of the user interface. Our robust API for configuring behavior and appearance lets you hide or add buttons, change colors to match your look and feel, trigger workflows, and much more.
PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.
Key capabilities
-
Custom themes — Adjust colors, font, background color, and more
-
Buttons — Change styling and replace icons
-
Toolbars — Remove, rearrange, and create new tools or toolbars
-
Menus — Disable menu items and add new actions
-
UI elements — Customize scrollbars, dialogs, or the thumbnail bar
-
Localization — Make your app available in other languages
Guides for customizing the UI
Document view hierarchy
Learn about the PdfDocument
class
Fragment view hierarchy
Learn about the two kinds of fragments for displaying PDF documents
Activity view hierarchy
Learn about the most straightforward way for displaying PDF documents
Main toolbar menus
How to modify the main toolbar menus by adding or removing actions
Contextual toolbar customization
How to style, change groupings, and reposition the contextual toolbars
Document editing toolbar
How to use the document operations available in the editor toolbar
Annotation editing toolbar
How to customize the annotation editing toolbar
Annotation creation toolbar
How to configure the tools in the annotation creation toolbar
Text selection toolbar
How to customize the text selection toolbar
Contextual toolbar usage within fragment
How to use contextual toolbars within PdfFragment
Annotation inspector
How to configure the annotation inspector UI component
Form inspector
How to configure the form editing inspector UI component
Property inspector usage within fragment
How to use property inspectors within PdfFragment
Modal dialogs
How to alter the appearance of modal dialogs
Signature picker
How to configure the signature picker fragment
Appearance styling
How to customize UI elements with custom theme attributes
Thumbnail bar
How to set the style of the thumbnail bar
Form editing bar
How to integrate the existing form editing UI into custom activities
Note editor
How to configure the note editor
Overlay views
How to attach Android views to pages of a document
UI visibility
How to adjust the visibility of the user interface
Scrollbars
How to customize, disable, or replace scrollbars
Building around fragment
How to customize the UI beyond what’s possible with the predefined UI
Extending PdfActivity
How to extend PdfActivity
to implement custom activities
Localization
How to localize your app for a variety of languages