keyboardsurfer/Crouton — pull request #98 by theelfismike (2013-04-23 03:42:51+00:00)
Title: Force Crouton measure() before creating animation

Force Crouton view to measure first so that animation is smooth if it's more than one line. Also not caching animation to handle the case where Crouton view heights are different from one Crouton to the next.

To see this in action, create a Crouton with really long text that will force it to wrap two lines, then call Crouton.makeText(activity, reallyReallyLongString, Style.INFO).show();

The animation will start with part of the view exposed and end before the bottom fully animates off the screen.