Home > Mobile >  HorizontalScrollView with TabLayout TabLayout can slide
HorizontalScrollView with TabLayout TabLayout can slide

Time:11-26

HorizontalScrollView and TabLayout use, want to let TabLayout can slide HorizontalScrollView don't slide

First interface is

Then slide the
On the left will have a category from the fixed slide up to the top on the left and the right of the screen TabLayout can slide
I was using a HorizontalScrollView nested TabLayout then
The outside is to use AppBarLayout implementation effect of suspension, and then listening AppBarLayout sliding
Use scrollView. ScrollTo (x, y); To classify the left 1 controls slid out

But conflict TabLayout sliding: no, I want to make the slide after the classification to the top, slide the TAB on the left
Have bosses know how to solve it, if there are other ways to achieve this style under the guidance of the interface also please thank you
  • Related