I\'ve been searching for the solution of my problem for some time and didn\'t find solution.
I want to restore my fragment\'s layout after screen orientation change. I
Try using the following AppBarLayout method:
public void setExpanded (boolean expanded)
However, there's an Android issue addressing the behavior you reported