How i can Make FullScreen PDFView When i Rotate Screen.
See original GitHub issueHi Could You help me please about making full screen pdfviewer when change rotation like lanscape. I tried two methods but didnt work, First one;
PDFView.Configurator.onRender(new OnRenderListener() {
@Override
public void onInitiallyRendered(int nbPages, float pageWidth, float pageHeight) {
pdfView.fitToWidth();
}
});
Second one;
@Override
public void onConfigurationChanged(Configuration newConfig)
{
super.onConfigurationChanged(newConfig);
if(newConfig.orientation ==Configuration.ORIENTATION_LANDSCAPE)
{
pdfView.fitToWidth();
}
}
Help me please how i can do that? By the way, i want to do this responsivelity.
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (6 by maintainers)
Top Results From Across the Web
PDFKit: PDFView doesn't resize when device rotated
The app is rotatable to any orientation. The PDFView is full-screen and single-page. The PDF displays as expected when launched in either ...
Read more >Set a document to open in full screen mode
Open the document · Go to Document Properties (File -> Document Properties) · Click Initial View tab · Select Navigation tab dropdown and...
Read more >Get full screen or dual screen with PDF Documents ... - YouTube
GET BETTER WITH NICKLAND MEDIA: EVENT & SPEECH • S01.E01Quick tips to enhance your event and your speechPDF Documents: How to manage them ......
Read more >Full Screen plugin - React PDF Viewer
The `full-screen` plugin provides a button that can be used to view the PDF document in full screen mode. It is possible to...
Read more >Viewing PDFs and viewing preferences, Adobe Acrobat
If the Full Screen navigation bar is not shown, you can use keyboard shortcuts to navigate through a PDF. Note: If you have...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@amit6663 Remove below code block if you have it:
android:configChanges="orientation|screenSize"
@Abraxelx did you get the solution? If did then share here please, I’m getting the same problem.