Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

TabPageIndicator

Rey Pham edited this page May 8, 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_mode - The mode of TabPageIndicator. There're 2 modes: SCROLL and FIXED.

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

Clone this wiki locally