Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab字体颜色怎么改?默认是原始的粉色,没找到怎么改的 #34

Open
jjjjbababy opened this issue Sep 5, 2018 · 3 comments

Comments

@jjjjbababy
Copy link

No description provided.

@leielyq
Copy link

leielyq commented Oct 16, 2018

mTab.setTabAdapter(new TabAdapter() {
@OverRide
public int getCount() {
return mBody.size();
}

                @Override
                public ITabView.TabBadge getBadge(int position) {
                    return null;
                }

                @Override
                public ITabView.TabIcon getIcon(int position) {
                    return null;
                }

                @Override
                public ITabView.TabTitle getTitle(int position) {
                    return mBuilder.setContent(mBody.get(position).getType_name()).setTextColor(0xFF000000, 0xFF757575).build();
                }

                @Override
                public int getBackground(int position) {
                    return R.color.white;
                }
            });

@qwasnm789
Copy link

我按照你这样写完全没用啊

@roybill
Copy link

roybill commented Apr 30, 2020

@qwasnm789 我也遇到这个问题,请问你是怎么解决的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants