摘要:
先说结果:setMeasureAllChildren(false).可以让子View适应自己的高度。查看源码可以发现。ViewFlipper的父类ViewAnimator是继承与FrameLayout.1.能控制View的宽高的话,先去onMeasure看看。 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { int count = getChildCount(); final boolean measureMatchParentChildren = ... 阅读全文
posted @ 2013-03-14 12:51
wFeng
阅读(537)
评论(0)
推荐(0)