摘要: 自定义View增加属性第一步:定义属性资源文件 在/res/values 文件夹下建立“Values XML layout”,按照如下定义一个textview的属性 节点attr 是定义属性用的,name 是属性名称 ,format 是属性的类型,用<declare-styleable name=" 阅读全文
posted @ 2016-12-01 10:34 麦哈顿博士 阅读(528) 评论(0) 推荐(0) 编辑