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

locatePositionOnScreen() 方法应放在 onLayout 中 #51

Closed
yinshudi opened this issue Sep 7, 2017 · 1 comment
Closed

locatePositionOnScreen() 方法应放在 onLayout 中 #51

yinshudi opened this issue Sep 7, 2017 · 1 comment

Comments

@yinshudi
Copy link

yinshudi commented Sep 7, 2017

当 SeekBar 上方有控件显示或隐藏时, 在 onMeasure 中获取点的位置是不准的. 只有在 onLayout 时, 才能保证其父 View 的所有子 View 都测量完毕, 位置才是准的.

@woxingxiao
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

2 participants