Skip to content

Instantly share code, notes, and snippets.

@inktomi
Created September 25, 2015 21:38
Embed
What would you like to do?
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