Swapped code examples

Author: dpirpirisCreated Aug 23, 2016Updated Aug 23, 2016

For the "Circular Reveal from the middle of target view" and "Circular Reveal from top of target view + animations" examples towards the bottom of the guide, it looks like someone accidentally swapped the lines for calculating the int "cy" variable.

"Circular Reveal from the middle of target view" -> int cy = viewRoot.getTop();

"Circular Reveal from top of target view + animations" -> int cy = (viewRoot.getTop() + viewRoot.getBottom()) / 2;

Source: lgvalle/Material-Animations