Android drawerlayoyt sliding options -
the default sliding menu transition slide on main view.
are other options menu transition? moving main view swipe? or other option?
thanks, ilan
from: http://developer.android.com/training/implementing-navigation/nav-drawer.html, can set listener on drawer:
mdrawerlayout.setdrawerlistener((drawerlayout.drawerlistener) listener);
the listener implementation defined here:http://developer.android.com/reference/android/support/v4/widget/drawerlayout.drawerlistener.html
you can implement
drawerlistener.ondrawerslide(view drawerview, float slideoffset)
and use slideoffset in order animate other views, moving main view in relation slide offset.
Comments
Post a Comment