TabPageIndicator

Rey Pham edited this page Dec 11, 2015 · 5 revisions

TabPageIndicator

Usage

Declare in XML:

    <com.rey.material.widget.TabPageIndicator
        style="@style/Material.Widget.TabPageIndicator"
        android:layout_width="match_parent"
        android:layout_height="48dp"/>

Attributes

  • tpi_tabPadding - The padding between tabs.

  • tpi_tabRipple - The ripple effect style of each tab.

  • tpi_indicatorColor - The color of indicator bar.

  • tpi_indicatorHeight - The height of indicator bar.

  • tpi_indicatorAtTop - Indicate that indicator should stick to top of tabs.

  • tpi_tabSingleLine - Indicate that should show text in single line or not.

  • tpi_mode - The mode of TabPageIndicator. There're 2 modes: scroll and fixed.

  • android:textAppearance - The appearance settings of tab's text.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.