摘要:
1. 编写自定义控件 2. 重写LinearLayout函数 3. 布局中使用 test.uicustomviews.TitleLayout 部分,test.uicustomviews为包名,TitleLayout为代码文件名 阅读全文
摘要:
1. build.gradle的 dependencies闭包部分 添加 compile 'com.android.support:percent:24.2.1' 2. 添加 xmlns:app="http://schemas.android.com/apk/res auto" 3. 使用 4. 全 阅读全文