/** * @see android.view.View#onLayout(boolean,int,int,int,int) * <p>Creates and positions all views */ @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { super.onLayout(changed, l, t, r, b); mInLayout = true; layout(0, false); mInLayout = false; }