TabLayout 设置指示器宽度问题

darker79302 11 0 PDF 2021-01-04 01:01:35

public static void setTabLayoutWidth(int left, int right, TabLayout tabLayout, Activity Activity) { try { Field slidingTabIndicatorField; Field textViewField; // 拿到tabLayout的slidingTabIndicator属性 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { sl

用户评论
请输入评论内容
评分:
暂无评论