03 2017 档案

摘要:1. 编写自定义控件 2. 重写LinearLayout函数 3. 布局中使用 test.uicustomviews.TitleLayout 部分,test.uicustomviews为包名,TitleLayout为代码文件名 阅读全文
posted @ 2017-03-27 21:18 amours 阅读(538) 评论(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 阅读(457) 评论(0) 推荐(0)
摘要:![](http://images2015.cnblogs.com/blog/1059085/201703/1059085-20170319235352338-986111546.jpg) ``` AlertDialog.Builder dialog=new AlertDialog.Builder(MainActivity.this); dialog.setTit... 阅读全文
posted @ 2017-03-19 23:53 amours 阅读(208) 评论(0) 推荐(0)
摘要:标题 一级标题 ==================== 二级标题 正文 三级标题 引用1 引用2 引用3 强调 Some of these words are emphasized . Some of these words _are emphasized also_. Use two aster 阅读全文
posted @ 2017-03-19 22:51 amours 阅读(97) 评论(0) 推荐(0)
摘要:今天犯了一个很低级的错误,将一个按钮的点击事件监听,放置与另一个按钮的点击时间中. 错误的导致原因是 代码混乱 这样的结果是 前面的按钮不触发,后面按钮的逻辑就会失效 阅读全文
posted @ 2017-03-19 22:45 amours 阅读(162) 评论(0) 推荐(0)