Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

How to handle when orientaion change

More
IP: 192.168.0.71 11 years 9 months ago #8082 by asliyanage
I need to know is there any special thing to do when the orientation change?
I saw some other library has below thing to handle the orientation changes.

switch(newConfig.orientation) {
case Configuration.ORIENTATION_PORTRAIT:
mPDFView.setPageViewMode(PDFViewCtrl.PAGE_VIEW_FIT_PAGE);
break;
case Configuration.ORIENTATION_LANDSCAPE:
mPDFView.setPageViewMode(PDFViewCtrl.PAGE_VIEW_FIT_WIDTH);
break;
}
More
IP: 192.168.0.158 11 years 9 months ago #8089 by nermeen
It only depends on your requirements, for some the default behavior is sufficiente for other no.
More
IP: 192.168.0.71 11 years 9 months ago #8093 by asliyanage
I tried with increasing the zoomLevel to 8 in Global class.It works well in Portrait mode,but not in Landscap mode.How to handle this ?
when i zooming in Landscape mode continuously it gives me which color screen after sometime.I have already raise this issue in another thread.Please give me a solution ?
More
IP: 192.168.0.71 11 years 9 months ago #8101 by radaee
no better way.
we are developing new class PDFLayoutView, which support 20x zoom level.
for your case now: set zoomlevel less than 8, like 5 or 6, mostly enough.
More
IP: 192.168.0.71 11 years 9 months ago #8105 by asliyanage
Hi Radaee,
Could you please let me know how to stop zooming problematically ?This should be able as if i used 5 as a maximum zoom Level it doesn't zoom after some extent.So i need to apply that to when i am using zoom Level 8?
Time to create page: 0.403 seconds
Powered by Kunena Forum