It looks like Inflate does not update Right and Bottom correctly.
Inflate sets X & Y before setting Width & Height.
I think Width & Height should be set first so that Right & Bottom get updated using the new Width & Height values in the X and Y setters.
It looks like Inflate does not update Right and Bottom correctly. Inflate sets X & Y before setting Width & Height. I think Width & Height should be set first so that Right & Bottom get updated using the new Width & Height values in the X and Y setters.