
自定义view
大城小小爱
人生没有后悔,才是我的成功
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
自定义view简单的视图控件,控制view的背景颜色
public class MyRect extends View { public MyRect(Context context, AttributeSet attrs) { super(context, attrs); TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.MyView); int co原创 2016-06-17 09:01:06 · 4634 阅读 · 0 评论 -
自定义旋转view
public class RotatingRect extends View { public RotatingRect(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); initProperties(); } public RotatingRec原创 2016-06-17 09:08:42 · 428 阅读 · 0 评论