07 2020 档案
摘要:LayoutLayout is a two pass process: a measure pass and a layout pass. 布局是一个两阶段的过程:测量阶段和布局阶段。The measuring pass is implemented in {@link #measure(int,
阅读全文
摘要:ID Views may have an integer id associated with them. 视图可能具有与之关联的整数ID。 These ids are typically assigned in the layout XML files, and are used to find
阅读全文
摘要:前言:仔细阅读view源码头部的注释,会发现一些技术点早就在这里了。 1.view头文件的翻译 This class represents the basic building block for user interface components.当前类是用户页面组件的基本构建模块。(view是页
阅读全文