01 2017 档案

摘要:最近在做下拉框,本来想用spinner,可是spinner达不到项目要求,跟同学同事问了一圈,都在用popwindow, 网上看了一下,popwindow挺简单的,可定制性挺强的,符合我的要求,所以,借鉴网上看的代码,自己撸了一 遍。写篇博客以防忘记。 首先,先写个自定义布局,代码如下 <?xml 阅读全文
posted @ 2017-01-16 11:37 沈子羽 阅读(2975) 评论(0) 推荐(0)
摘要:本文参考借鉴http://blog.csdn.net/jdsjlzx/article/details/42497135 先上效果图: 自定义控件:AttendanceProgressBar 代码如下: 1 public class AttendanceProgressBar extends View 阅读全文
posted @ 2017-01-13 11:55 沈子羽 阅读(546) 评论(0) 推荐(1)