在 Android 中创建一个简单的小册子应用程序
我想开发一个小册子应用程序,任何人都可以通过从一张照片轻拂(或滚动)到另一张照片来浏览各种照片。这就是我遇到障碍的地方。我需要知道我需要使用什么方法(例如OnClickListener)来实现。我还想添加额外的 UI 功能(例如捏合缩放、将视图限制为横向),您可以指导我一些教程吗?如果您以前开发过这样的应用程序,您能告诉我您在工作时遇到了什么问题吗?
我在一个问题上问了很多。只是提示我什么是重要的以及如何处理我可能面临的问题。
感谢您的投入和时间:)
I would like to develop a brochure app in which any person can go through various photos by flicking (or scrolling) them from one photo to the other. Here is where I hit a road block. I need to know what methods I need to use (eg OnClickListener) to implement. I would also like to add extra UI capabilities (eg pinch to zoom, restrict view to landscape) could you direct me to some tutorials. If you've worked on such an app before could you tell me what problems you faced while working.
I am asking a lot in one question. Just hint me through what is important and how to handle the problems I might face.
Thank you for your input and time :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,通过以下代码实现图库视图:
然后通过此链接捏合和缩放:
android 捏合缩放
First you implement the Gallery View from the below code as:
Then Go through this link Pinching and Zooming:
android pinch zoom