Androidpdfviewer: PDF on landscape mode

Created on 12 Jun 2018  路  2Comments  路  Source: barteksc/AndroidPdfViewer

Hi, I need your help, how to display the PDF on all screen width on Landscape mode (I use version 2.3.0) @barteksc

All 2 comments

pdfView.fromAsset(pdfFile)
.pageFitPolicy(FitPolicy.WIDTH)
.load()

Does it not work?

hi @Hayko985 I tried the function below and it works perfectly for me.

.pageFitPolicy(FitPolicy.BOTH)

Hope it helps :)

Was this page helpful?
0 / 5 - 0 ratings