android - 在几个 fragment 之间滑动

标签 android android-fragments android-sliding

我想在 fragment 之间滑动 - 不是整个屏幕,只是其中的一部分。

enter image description here
我看到了SlidingPaneLayout,但它并没有完全达到我想要的效果。

最佳答案

使用ViewPager滑动 fragment 。点击here获取教程。

关于android - 在几个 fragment 之间滑动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30683005/

相关文章:

android - 在装有Android 5.x.x的每台三星设备上错误放大类ImageView

java - 填充微调器

android - fragment 相互重叠

android:指定的 child 已经有一个 parent 。你必须调用 removeView()

android - 当面板设置为默认面板高度时如何停止 umano AndroidSlidingUpPanel 的主要内容重新调整大小

android - 移动端跨域API调用

android - 文件 'root/lib/META-INF/MANIFEST.MF' 使用保留文件或目录名称 'lib'

java - 如何管理具有一个 Activity 和多个 fragment 的Android应用程序?

android - 有没有在代马家AndroidImageSlider中为 slider 布局提供点击监听器?

android - 如何在不使用 android 中的操作栏的情况下创建自定义滑动菜单栏?