This small repository attempts to test bugs and workarounds like those listed at https://stackoverflow.com/questions/38327849/bottomsheet-fly-away-with-visibility-change/39462475#39462475 or https://stackoverflow.com/questions/42087678/animatelayoutchanges-true-in-bottomsheetview-showing-unexpected-behaviour/43122448#43122448.
Reported google issues: