public void animateClose ( ) { prepareContent ( ) ; if ( onDrawerScrollListener != null ) { onDrawerScrollListener . onScrollStarted ( ) ; } animateClose ( vertical ? viewHandle . getTop ( ) : viewHandle . getLeft ( ) ) ; if ( onDrawerScrollListener != null ) { onDrawerScrollListener . onScrollEnded ( ) ; } }
Closes the drawer with an animation .