android ViewGroup代码里addView时,子View的布局设置wrap_content失效问题
具体子View的测量模式和大小请看下表:解决方法:ViewchildView=View.inflate(this,R.layout.guideview_left,null);//测量view的宽高intw=View.MeasureSpec.makeMeasureSpec(0,View.MeasureSpec.UNSPECIFIED);inth=View.MeasureSpec.makeMeasur