Android 滚动分页 [英] Android Scroll Pagination
本文介绍了Android 滚动分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有适用于 Android 操作系统的工具可以实现滚动分页?
Is there something for the Android OS with which you can implement scroll pagination?
*编辑
滚动分页是指在主屏幕上的分页,您可以左右滑动并转到下一页或上一页.
*Edit
With scroll pagination I mean pagination like on the homescreen, you can swipe right and left and go to the next or previous page.
推荐答案
您可以在 android.git.kernel.org 上以 Launcher 的源代码为例.查找名为 Workspace 和 CellLayout 的类.
You can take example on the source code of Launcher at android.git.kernel.org. Look for the classes called Workspace and CellLayout.
这篇关于Android 滚动分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文