General Layout Problems

One of the most common sources of layout problems with PSPDFKit is the use of the android:configChanges option on the activity declaration inside your app’s AndroidManifest.xml. If you experience the following layout problems, try removing an android:ConfigChanges option from your <activity /> declaration:

  • Displaced pages in the document
  • Wrong action bar size, or visual glitches in the action bar
  • Other layout problems occurring after changing the device orientation