Skip to content Skip to sidebar Skip to footer

Scrollview Within Viewflipper Does Not Work Although Using Ontouchevent

In this post: Android: ScrollView in flipper It was suggested to set an onTouchnListener to the ScrollView which is part of a child of a ViewFlipper. I did that and also used the s

Solution 1:

I think you're problem is similar to one found in this post:Scrollview doesn't swipe when it's too short to scroll

take a look at the proposed solution, the one where the author extended the ScrollView view class. i believe this will fix your pro

Solution 2:

Found a solution at this link -> Fragment using ScrollView inside RelativeLayout > ontouch doesn't work

Add the following code to your view inside scrollview

android:clickable="true"
    android:focusable="true"
    android:focusableInTouchMode="true"

Post a Comment for "Scrollview Within Viewflipper Does Not Work Although Using Ontouchevent"