Swipe/Fling tab-changing in conjunction with ScrollView?

后端 未结 3 1812
栀梦
栀梦 2020-12-02 10:03

The best I could find on this particular issue (although I do not use a Gallery): ScrollView and Gallery interfering - doesn\'t really give a specific answer though. And my

3条回答
  •  攒了一身酷
    2020-12-02 10:37

    In looking to solve a similar issue I am having, I came across this tid-bit:

    eventsInterceptionEnabled: when set to true, this property tells the overlay to steal the events from its children as soon as it knows the user is really drawing a gesture. This is useful when there's a scrollable view under the overlay, to avoid scrolling the underlying child as the user draws his gesture

    From the Android Dev site, it talks about using this attribute in the Root in your layout file.

提交回复
热议问题