Not much has changed, all I do is adding a menu, and calling motionLayout.transitionToState(R.id.end), menu item not showing up/disappear, especially after rotated to Landscape, this is also when ViewPager2 can't move in sync with collapsing AppBarLayout
I try to add a menu to MotionLayout, following the youtube example This is the whole YoutubeDemoActivity file
This is the beginning of layout file _motion_24youtube.xml
Not much has changed, all I do is adding a menu, and calling motionLayout.transitionToState(R.id.end), menu item not showing up/disappear, especially after rotated to Landscape, this is also when ViewPager2 can't move in sync with collapsing AppBarLayout