View绘制流程
2019-11-25 本文已影响0人
JianShu_w
activity的生命周期是由系统服务所触发,由系统服务发起handle调用到handleResumeActivity()开始绘制流程然后最终交由ViewRootImpl调用到performTraversals()
![](https://img.haomeiwen.com/i16119840/3f8a5e2e259ac9c9.png)
MesureSpec
![](https://img.haomeiwen.com/i16119840/2fb12e7caa84144a.png)
![](https://img.haomeiwen.com/i16119840/3be3b7341e8e92a9.png)
![](https://img.haomeiwen.com/i16119840/d6b0fe31332254ba.png)
![](https://img.haomeiwen.com/i16119840/6708311ac317a507.png)
三大步
![](https://img.haomeiwen.com/i16119840/969984c7511c9bf1.png)
activity的生命周期是由系统服务所触发,由系统服务发起handle调用到handleResumeActivity()开始绘制流程然后最终交由ViewRootImpl调用到performTraversals()