Java android.support.v4.view SlidingTabLayout fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.view SlidingTabLayout fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.view SlidingTabLayout.

The text is from its open source code.

Subclass

android.support.v4.view.SlidingTabLayout has subclasses.
Click this link to see all its subclasses.

Method

voidsetBackgroundColor(@ColorInt int color)
Sets the background color for this view.
voidsetCustomTabColorizer(TabColorizer tabColorizer)
Set the custom TabColorizer to be used.
voidsetCustomTabView(int layoutResId, int textViewId)
Set the custom layout to be inflated for the tab views.
voidsetDividerColors(int... colors)
Sets the colors to be used for tab dividers.
voidsetOnPageChangeListener(ViewPager.OnPageChangeListener listener)
Set the ViewPager.OnPageChangeListener .
voidsetSelectedIndicatorColors(int... colors)
Sets the colors to be used for indicating the selected tab.
voidsetViewPager(ViewPager viewPager)
Sets the associated view pager.