In your activity, override onTouchEvent and pass the event to the gallery before you pass it on to the super class.
On Mar 22, 5:13 pm, jotobjects <jotobje...@gmail.com> wrote: > There is still an intermittent problem with scrolling. Sometimes the > ScrollView will not move. Swiping it several times it will then move, > as though it is hard to "get its attention". > > This is intermittent. What would be the cause of that kind of > behavior? > > On Mar 22, 12:57 pm, jotobjects <jotobje...@gmail.com> wrote: > > > > > > > > > I solved the problem - here is how - > > > public class SpecialScrollView > > extends ScrollView > > { > > public SpecialScrollView(Context context) > > { > > super(context); > > } > > > public SpecialScrollView(Context context, AttributeSet attrs) > > { > > super(context, attrs); > > } > > > public SpecialScrollView(Context context, AttributeSet attrs, int > > defStyle) > > { > > super(context, attrs, defStyle); > > } > > > @Override > > public boolean onTouchEvent(MotionEvent motionEvent) > > { > > super.onTouchEvent(motionEvent); > > return false; > > } > > > } > > > On Mar 22, 12:38 pm, jotobjects <jotobje...@gmail.com> wrote: > > > > More information - the gallery works if I grab an area below the > > > ScrollView (some of the ScrollView gallery items do not fill the whole > > > vertical area) > > > > On Mar 22, 12:29 pm, jotobjects <jotobje...@gmail.com> wrote: > > > > > Sorry - I mis-stated the problem. > > > > > The ScrollView inside the Gallery DOES scroll. > > > > > However the outer Gallery does NOT scroll. > > > > > On Mar 22, 12:17 pm, jotobjects <jotobje...@gmail.com> wrote: > > > > > > Looks like a ScrollView inside a Gallery does not scroll. Has anyone > > > > > done this successfully? > > > > > > I saw an earlier post that Gallery inside a ScrollView (inverse) does > > > > > work (but not what I want). > > > > > > Is there something I can do with touch events to push the horizontal > > > > > gestures down to the internal ScrollView? > > > > > > Thanks... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en