0
此问题适用于sample found in the official ViewGroup documentation。了解Android ViewGroup示例中的帧放置
我想不通,为什么下面一行是正确的
mTmpContainerRect.left = rightPos - width - lp.leftMargin;
我觉得这应该是
mTmpContainerRect.left = rightPos - width - lp.leftMargin - lp.rightMargin;
会有人请解释一下吗?谢谢。