Why are the third and fourth parameters of child.layout() prefixed?

28 Views Asked by At
child.layout(x, y, x + child.getMeasuredWidth(), y + child.getMeasuredHeight());

As you can see from the code snippet above, the third parameter is prefixed with x and the fourth with y. Aren't x and y co-ordinates? What's the difference if I do this?

child.layout(x, y, child.getMeasuredWidth(),child.getMeasuredHeight());
0

There are 0 best solutions below