摘要: 自定义控件都会去重写View的onMeasure方法,因为该方法指定该控件在屏幕上的大小。protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)onMeasure传入的两个参数是由上一层控件传入的大小,有多种情况,... 阅读全文
posted @ 2014-12-17 22:46 我爱物联网 阅读(1455) 评论(0) 推荐(0)
AmazingCounters.com