Описание тега pagertitlestrip
PagerTitleStrip is a non-interactive indicator of the current, next, and previous pages of a ViewPager.
PagerTitleStrip is a non-interactive indicator of the current, next, and previous pages of a ViewPager
in android. It is intended to be used as a child view of a ViewPager
widget in the xml layout.
To use it, we nned to add it as a child of a ViewPager
in the 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.