added in version 22.1.0
belongs to Maven artifact com.android.support:viewpager:28.0.0-alpha1
belongs to Maven artifact com.android.support:viewpager:28.0.0-alpha1
Summary:
Inherited Constants
| Inherited Fields
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
PagerTitleStrip
public
class
PagerTitleStrip
extends ViewGroup
java.lang.Object | |||
↳ | android.view.View | ||
↳ | android.view.ViewGroup | ||
↳ | android.support.v4.view.PagerTitleStrip |
![]() |
PagerTitleStrip is a non-interactive indicator of the current, next,
and previous pages of a ViewPager
. It is intended to be used as a
child view of a ViewPager widget in your XML layout.
Add it as a child of a ViewPager in your layout file and set its
android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom
of the ViewPager. The title from each page is supplied by the method
getPageTitle(int)
in the adapter supplied to
the ViewPager.
For an interactive indicator, see PagerTabStrip
.
Summary
Inherited constants |
---|
![]()
android.view.ViewGroup
|
![]()
android.view.View
|