Document navigation lag in Android or Xamarin.Android?

29 views
Skip to first unread message

Shirley Gong

unread,
Jun 2, 2014, 6:23:05 PM6/2/14
to pdfne...@googlegroups.com
Q: We have a problem in documents with more than 100 pages. Navigation by toolbar, across pages renders new pages pretty fluent. Without the toolbar it lags.

Are there any updates for the Xamarin.Android lib? Our test device is a nexus 10 tablet running android 4.4.2.


A: "HardwareAccelerated = true" needs to be set in order for large devices to work properly.


For Android, make sure this is set in the AndroidManifest.xml:

<application

        ......

        android:hardwareAccelerated="true" >


For Xamarin.Android, make sure the following is done:


[Activity(Label = "@string/app_name", MainLauncher = true, Icon = "@drawable/pdf_icon", HardwareAccelerated = true, ...)]


This should significantly improve the smoothness of page navigation for large devices.

Reply all
Reply to author
Forward
0 new messages