摘要: 1. 编写自定义控件 2. 重写LinearLayout函数 3. 布局中使用 test.uicustomviews.TitleLayout 部分,test.uicustomviews为包名,TitleLayout为代码文件名 阅读全文
posted @ 2017-03-27 21:18 amours 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 1. build.gradle的 dependencies闭包部分 添加 compile 'com.android.support:percent:24.2.1' 2. 添加 xmlns:app="http://schemas.android.com/apk/res auto" 3. 使用 4. 全 阅读全文
posted @ 2017-03-27 20:22 amours 阅读(451) 评论(0) 推荐(0) 编辑