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

中间的文字未垂直居中 #37

Closed
Lesences opened this issue Aug 2, 2017 · 3 comments
Closed

中间的文字未垂直居中 #37

Lesences opened this issue Aug 2, 2017 · 3 comments

Comments

@Lesences
Copy link

Lesences commented Aug 2, 2017

如图,LoopView 布局高度设置的为150dp

image

此外,itemsVisibleCount也有问题,我这边是设置的7,显示5个

@huanting
Copy link

huanting commented Jan 8, 2018

是因为文字draw的时候,传入的y值不对,应该传入的是baseLine位置;
设置itemsVisibleCount是包含了半圆 的最上面(+90°方向)和最下面(-90°方向)2个item

@orangegithub1
Copy link

@huanting 可以分享下具体实现吗?谢谢

@weidongjian
Copy link
Owner

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