XTabLayout
XTabLayout copied to clipboard
🧀Enhanced version of TabLayout, add the custom width of the TabLayout Indicator, add the animation effect of Weibo navigation bar, support the Indicator rounded effect, support the TAB to add red dot...
不导入library的model,没有依赖的样式吗?
``` app:xTabTextSize="18sp" app:xTabTextBold="true" ``` 比如配置了这两个属性,app刚启动时各个tab的字体大小及粗细仍然是默认状态,当点击tab切换后才会生效 版本1.1.5
可否加个选中字体变大变粗 同时也有下划线。
public class HomeFragment extends Fragment { private View viewContent; private XTabLayout tabLayout; private ViewPager viewPager; private BadgeView redDotBadgeView; private BadgeView redNumberBadgeView; private String[] strArray = new String[]{"关注", "推荐", "视频", "直播",...