摘要:
MeasureSpec MeasureSpec官方解释: A MeasureSpec encapsulates the layout requirements passed from parent to child. Each MeasureSpec represents a requirement 阅读全文
摘要:
本系列总结主要参考GcsSloop自定义View系列以及《Android开发艺术探索》中的相应章节内容,仅作为个人笔记使用。 ViewRoot对应于ViewRootImpl类,它是连接WindowManager和DecorView的纽带,View的三大流程均是ViewRoot来完成。当Activit 阅读全文