标签:
1 view.measure(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT); 2 int width = view.getMeasuredWidth(); 3 int height = view.getMeasuredHeight();
获取视图的宽高
原文地址:http://www.cnblogs.com/cmgrass/p/4978222.html