Property Inspector

We added a completely overhauled annotation inspector for changing annotation properties (colors, sizes, etc.). This new inspector replaces the old properties dialogue and paves the way for adding further annotation properties.

Custom Launch Intents

The new PSPDFActivity.IntentBuilder allows manual creation of Intent instances for launching the PSPDFActivity. For example, you can use this to launch a custom PSPDFActivity with non-default flags, or to start a custom activity for result. The builder will ensure that the intent bundle will contain all the extras required by the PSPDFActivity.

We also added a new theming attribute dragTargetColor to the pspdf__toolbarCoordinatorLayoutStyle to change the color of your toolbar drag targets according to your theme.

Many Tweaks, Enhancements and Fixes

PSPDFKit 2.5 for Android also includes a number of smaller enhancements and fixes. We added a library AndroidManifest.xml that contributes recommended settings to your app (like the android:largeHeap="true" flag) and automatically declares content providers for document sharing, printing and multimedia support. We greatly improved performance around pooling, JPEG200 decoding and annotation adding on documents opened using a ContentResolver.