4 ms·
Well it's easy enough to transition into arrow and hamburger ObjectAnimator arrowRotateAnim = ObjectAnimator.ofFloat(mDrawerArrowDrawable, "progress", 0.0f, 1.
by AReallyGoodName 10y ago
Well it's easy enough to transition into arrow and hamburger
ObjectAnimator arrowRotateAnim = ObjectAnimator.ofFloat(mDrawerArrowDrawable, "progress", 0.0f, 1.0f);
arrowRotateAnim.setDuration(Constant.NAV_ARROW_TIME);
arrowRotateAnim.start();
and vice versa on progress where mArrowDrawable is a DrawerArrowDrawable object. I set NAV_ARROW_TIME to 300 and it seems the same as what google has.