80,472
社区成员




for (int i = 0; i < getChildCount(); i++)
{
final View child = getChildAt(i);
if (child.getVisibility() != View.GONE)
{
if (i == 0)
{
Log.e("status", "定位 " + (i + 1) + "," + child.getLeft() + "," + (int) offsetX + " mode " + vert);
}
child.layout(child.getLeft() + (int) offsetX, 0, child.getLeft() + (int) offsetX + child.getMeasuredWidth(), child.getMeasuredHeight());
// child.invalidate();
// child.requestLayout();
}
}