java.lang.Object | |||
↳ | com.neomades.ui.View | ||
↳ | com.neomades.ui.PagerTitleStrip | ||
↳ | com.neomades.ui.PagerTabStrip |
![]() |
PagerTabStrip is an interactive indicator of the current, next, and previous
pages of a ViewPager
.
Interactive means that the title of the current page is highlighted (it may
be underlined or with a specific color depending on the platform). For a
non-interactive indicator, see PagerTitleStrip
.
The title from each page is supplied by the method
getPagerTitleAt(int)
in the adapter supplied to the
ViewPager. To associate a ViewPager with a PagerTabStrip, use
setPagerTitleStrip(PagerTitleStrip)
.
In iOS platform, the PagerTabStrip
behaves like a PagerSlidingTabStrip
.
[Expand]
Inherited XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PagerTabStrip()
Creates a PagerTabStrip.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
setSelectedIndicatorPaddingBottom(int selectedIndicatorPaddingBottom)
Sets the bottom padding of the selector indicator in DP.
| ||||||||||
void |
setSelectedIndicatorPaddingLeft(int selectedIndicatorPaddingLeft)
Sets the left padding of the selector indicator in DP.
| ||||||||||
void |
setSelectedIndicatorPaddingRight(int selectedIndicatorPaddingRight)
Sets the right padding of the selector indicator in DP.
| ||||||||||
void |
setSelectedIndicatorThickness(int selectedIndicatorThickness)
Sets the thickness of the selector indicator in DP.
| ||||||||||
void |
setTabIndicatorColor(Color color)
Sets the color of the bar (or tab indicator) that will underline the title of
the current page.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a PagerTabStrip.
Sets the bottom padding of the selector indicator in DP.
selectedIndicatorPaddingBottom | the bottom padding of the selector indicator in DP. |
---|
Sets the left padding of the selector indicator in DP.
selectedIndicatorPaddingLeft | the left padding of the selector indicator in DP. |
---|
Sets the right padding of the selector indicator in DP.
selectedIndicatorPaddingRight | the right padding of the selector indicator in DP. |
---|
Sets the thickness of the selector indicator in DP.
selectedIndicatorThickness | the thickness of the selector indicator in DP |
---|
Sets the color of the bar (or tab indicator) that will underline the title of the current page.
color | the color of the tab indicator |
---|