public void hideRerouteState ( ) { if ( rerouteLayout . getVisibility ( ) == VISIBLE ) { rerouteLayout . startAnimation ( rerouteSlideUpTop ) ; rerouteLayout . setVisibility ( INVISIBLE ) ; } }
Will slide the reroute view up to the top of the screen and hide it