Skip to content

抽取了com.android.support:design:25.3.1中的TabLayout,增加tabIndicatorWidth和tabIndicatorWidthWithoutPadding属性

License

Notifications You must be signed in to change notification settings

SjAndy88/ExtTabLayout

Repository files navigation

ExtTabLayout

抽取了com.android.support:design中的TabLayout,增加tabIndicatorWidth和tabIndicatorWidthWithoutPadding属性

说明

tabIndicatorWidth属性用来自定义Indicator的宽度

tabIndicatorWidthWithoutPadding属性是用来定义Indicator的宽度和内容的宽度一致

两个属性不要一起使用。

使用

###Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

###Step 2. Add the dependency

dependencies {
	compile 'com.github.User:Repo:Tag'
}

About

抽取了com.android.support:design:25.3.1中的TabLayout,增加tabIndicatorWidth和tabIndicatorWidthWithoutPadding属性

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages