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

你们从来就没遇到这种需求么? #62

Open
lijunhuayc opened this issue Sep 17, 2018 · 0 comments
Open

你们从来就没遇到这种需求么? #62

lijunhuayc opened this issue Sep 17, 2018 · 0 comments

Comments

@lijunhuayc
Copy link

你们从来就没遇到这种需求么?github流行的star比较多的几个开源库都没有考虑这一种情况的Indicator展示样式,并且库不太好扩展,只能下载代码自己修改源码(一般修改一两行就可以解决)。
需求:一、当Tab足够多时,需要滑动;二、当Tab只有两三个时,Tab有可能需要均分屏幕宽度展示,也有可能不需要均分屏幕宽度但是要居中。
现在的开源库都只满足第一条,第二条全都是强制支持成wrap靠左显示了。
ScrollIndicatorView类建议提供一个接口可以代理调用内部的FixedIndicatorView的setGravity()方法。

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

1 participant