2015年10月3日

自定义属性提取源码分析

摘要: 源码分析基于Android 5.0,自定义View的使用示例如下:其中attrs标识CustomTitleView对应的节点属性集合:obtainStyledAttributes的作用是将attrs属性集合中指定的部分的属性进行封装,属于container的角色,调用过程如下:因此typedArra... 阅读全文

posted @ 2015-10-03 20:55 熊猫观星 阅读(637) 评论(0) 推荐(0) 编辑

Android自定义View创建流程

摘要: Android自定义View的创建流程 阅读全文

posted @ 2015-10-03 20:49 熊猫观星 阅读(222) 评论(0) 推荐(0) 编辑

导航