TabLayout TabLayout extract from Android Design Library for who do not want to import Android Design Library. Sample You can find a sample APK : Link How to use Import dependency using Gradle: compile 'com.github.xiangtailiang.tablayout:library:1.0.0'