Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

抽取了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

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /