参考这篇文章,我觉得讲的不错,清晰且易懂:
https://blog.csdn.net/sunbinkang/article/details/112426421
https://zhuanlan.zhihu.com/p/80213617(onLayout部分还行吧)
自定义view免不了移动改变view的位置:https://www.jianshu.com/p/861743aa9186
-----------------------------End-----------------------------
网友评论