Android Fragment Pager - 如何像我在下面给出的那样创建 fragment 图 block ?

标签 android android-layout actionbarsherlock

enter image description here

在我的应用程序中,我使用的是 Sherlock Fragment Pager,我想为我的每个 fragment 创建这种类型的标题。 中间的标题是当前正在显示的当前 fragment 和角落的上一个和下一个屏幕的标题。

最佳答案

创建 ActionBarSherlock 作为此类功能项目的人,称为 ViewPageIndicator。这是网址:http://viewpagerindicator.com/ .

我认为这将为您提供所需的功能。

关于Android Fragment Pager - 如何像我在下面给出的那样创建 fragment 图 block ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11011787/

相关文章:

java - 适用于 Android 穿戴的 Moto 360 模拟器

android - 在 android.support.v7.widget.SearchView 的 closeButton 中使用 RTL 方向

java - 在不设置的情况下显示布局边界

Android:如何将菜单项添加到 ActionBarSherlock MapActivity

android - 将 ShowCaseView 与 ActionBarCompat/ActionBarSherlock Android 结合使用

android - canvas.drawCircle 不起作用 - 而 drawLine 起作用 - 可能是由使用 Sherlock 引起的?

android - 是否可以使用 pdf.js 在 Android WebView 中显示 pdf?

android - Kivy ImportError : No module named android. 可运行

android - 使用 Kotlin 登录 Twitter

android - 如何检查是否可以从某些 Activity 中处理 Intent ?