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

item选中时的背景颜色怎么改变 #21

Open
282167361 opened this issue Dec 18, 2017 · 5 comments
Open

item选中时的背景颜色怎么改变 #21

282167361 opened this issue Dec 18, 2017 · 5 comments

Comments

@282167361
Copy link

No description provided.

@ankozxy
Copy link

ankozxy commented Jan 16, 2018

通过设置监听setOnTabSelectedListener

@282167361
Copy link
Author

我的意思是,选中的tab左边有个竖条,然后背景颜色也同事改变,你能留个QQ吗?可能这么说说不清

@EpicWang
Copy link

EpicWang commented Jul 5, 2018

可以使用这3个属性实现,但是指示器就不能用了

app:indicator_color="@color/white"
app:indicator_corners="0dp"
app:indicator_gravity="fill"

@anzhuojinjie
Copy link

解决了吗?遇到了同样的问题

@anzhuojinjie
Copy link

我的意思是,选中的tab左边有个竖条,然后背景颜色也同事改变,你能留个QQ吗?可能这么说说不清

解决了吗?

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