Created
September 25, 2015 21:38
-
-
Save inktomi/8a8f760620966fc58043 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mAppBarHeader.setExpanded(false, true); | |
Handler animatedDelay = new Handler(Looper.getMainLooper()); | |
animatedDelay.postDelayed(new Runnable() | |
{ | |
@Override | |
public void run() | |
{ | |
AppBarLayout.LayoutParams layout = (AppBarLayout.LayoutParams) mAppBarChildContainer.getLayoutParams(); | |
layout.setScrollFlags(0); | |
mAppBarChildContainer.setLayoutParams(layout); | |
} | |
}, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment