参考文章: 修改系统的TabLayout来改变Indicator(下划线)的样式使用FlycoTablayout三方库自定义TabLayout 下划线FlycoTablayout github原地址TabLayout中Indicator部分源码分析