2015年7月26日

Android 自定义ViewGroup(自定义布局容器)

摘要: 1、先创建一个控件类间接或者直接继承ViewGroup类2、重载onMeasure方法来测量控件 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)3、重载onLayout方法来布局子空间 protected v... 阅读全文

posted @ 2015-07-26 17:02 2015xbx 阅读(448) 评论(0) 推荐(0) 编辑

导航