Comments (1)
tab_indicator_color
属性是给tab_indicator_drawable
属性指定的Drawable
着色.
如果要设置纯色指示器,请使用tab_indicator_solid_color
.
纯色渐变指示器tab_indicator_gradient_start_color
tab_indicator_gradient_end_color
.
默认tab_select_color
tab_deselect_color
只处理TextView
, 如果要支持ImageView
请调用com.angcyo.tablayout.DslTabLayout#configTabLayoutConfig
方法, 重写onGetIcoStyleView
属性, 返回想要变色的ImageView
即可.
from dsltablayout.
Related Issues (20)
- 打包可以把源码打上来吗? HOT 1
- observeIndexChange使用java代码怎么调用 HOT 1
- 指示器能设置margin吗 HOT 1
- java.lang.AbstractMethodError: abstract method "void com.angcyo.tablayout.ViewPagerDelegate.onSetCurrentItem(int, int, boolean, boolean)" HOT 2
- 选中回调问题 HOT 1
- 请问一下设置requiresFadingEdge为什么不生效呢 HOT 1
- 下载的Demo引用的'com.github.angcyo:DslAdapter:6.0.2'失效了吗? HOT 2
- 切换Tablayout,下面的viewPager没有变动,滑动ViewPager的话,上方Tablayout可以正常切换
- 中文问题 HOT 3
- 发现个问题。
- 代码 HOT 1
- 果断放弃 HOT 2
- 加油吧,老铁 HOT 1
- 怎么设置item的间距 HOT 1
- 请问怎么直接设置tab item垂直居中呢,我现在还得外面包一层,有点麻烦,能否框架提供这么个属性 HOT 1
- 如何修改某个Item的文本? HOT 1
- 请问能自定义TextView的Scale动画么 HOT 4
- demo写的读起来费死老劲了 HOT 2
- 动态配置数据,默认全不选中无效。还是选中上次选择的下标 HOT 2
- badge四个角的cornerRadius设置
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsltablayout.