如何使用MuPDF库在android中水平滑动pdf页面 [英] How to swipe pdf pages horizontally in android using MuPDF library

查看:462
本文介绍了如何使用MuPDF库在android中水平滑动pdf页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照以下步骤从源代码构建了mupdf: http://www.mupdf.com/docs/how-to-build-mupdf-for-android .我已经将其集成到我的应用程序中,并且工作正常. 但是在该页面中垂直滚动,但我想水平滚动.请帮助我,是否可能,如果可能,请给我提示或任何其他解决方案,谢谢.

I have built mupdf from source following these steps http://www.mupdf.com/docs/how-to-build-mupdf-for-android. I have integrated it in my app and it is working fine. But in that page is scroll vertically but i want to scroll horizontally. Please help me is it possible or not And if possible give me hint or if any other solution Thanks.

推荐答案

您可以使用MuPDFPageView代替MuPDFReaderView并手动管理水平滚动.

You can use the MuPDFPageView instead of the MuPDFReaderView and manage the horizontal scroll manually.

这篇关于如何使用MuPDF库在android中水平滑动pdf页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆