For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change Vertical and Horizontal Scroll Direction in Android PDF Viewer

When scrolling through pages of a document in PDFViewCtrl, the scrolling direction can be changed by setting the page layout mode.

Vertical scrolling

Vertical scrolling mode (also known as continuous mode) can be enabled by setting the page presentation mode to either SINGLE_CONT, FACING_CONT, or FACING_COVER_CONT.

Here's what setting the page presentation mode to vertical scrolling looks like:

Horizontal scrolling

Horizontal scrolling mode (also known as non-continuous mode) can be enabled by setting the page presentation mode to either SINGLE, FACING, or FACING_COVER.

Here's what setting the page presentation mode to horizontal scrolling looks like:

Last updated

Was this helpful?