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

How to set up the border width or border color of indicator in SegmentTabLayout #5

Closed
HuJianChong opened this issue Dec 30, 2015 · 2 comments

Comments

@HuJianChong
Copy link

SegmentTabLayout中, 如何设置indicator的边框宽度或者颜色

@H07000223
Copy link
Owner

对于SegmentTabLayout
tl_indicator_color 色块颜色
tl_bar_color 背景条颜色
tl_bar_stroke_color 背景条边框颜色
tl_bar_stroke_width 背景条边框宽度

indicator色块默认高度为控件高度,宽度为Tab所占宽度.
可以通过设置tl_indicator_margin改变indicator宽高

具体参考Demo以及attrs.xml文件

@HuJianChong
Copy link
Author

谢谢,看的时候看漏了,控件很nice~~

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

2 participants