Some test text!

Search
Hamburger Icon

Android / Guides / View mode

View mode

There are a few view modes which can be adjusted to provide an optimal presentation such as layout, fit, or reflow. Additionally, you can present a view mode dialog allowing a user to change these settings.

Page layout/presentation mode in Android

PDFViewCtrl supports a number of page layouts (presentation modes), as listed below:

Page presentation mode Description
SINGLEDisplays one page at a time, swiping left and right to change pages.
SINGLE_CONTDisplays one page at a time, scrolling up and down to change pages.
SINGLE_VERTDisplays one page at a time, swiping up and down to change pages.
FACINGDisplays two pages at a time, with odd-numbered pages on left, swiping left and right to change pages.
FACING_CONTDisplays pages in two columns, with odd-numbered pages on left, scrolling up and down to change pages.
FACING_VERTDisplays two pages at a time, with odd-numbered pages on left, swiping up and down to change pages.
FACING_COVERDisplays two pages at a time, with odd-numbered pages on right, swiping left and right to change pages.
FACING_COVER_CONTDisplay pages in two columns, with odd-numbered pages on right, scrolling up and down to change pages.
FACING_COVER_VERTDisplays two pages at a time, with odd-numbered pages on right, swiping up and down to change pages.

Set the page presentation mode

You can set page presentation mode in your PDFViewCtrl by using PDFViewCtrl.setPagePresentationMode(PagePresentationMode):

mPdfViewCtrl.setPagePresentationMode(PDFViewCtrl.PagePresentationMode.FACING);

Get the answers you need: Chat with us