1

I've the layout defined in this form:

<ScrollView
--------->

   <RelativeLayout
    ------->
   <!--other n stuffs-->
   </RelativeLyout>
</ScrollView>

I was using this approach to detect swipe. The same is not working for ScrollView. How can I detect left-to-right and right-to-left gesture in this View?

Community
  • 1
  • 1
Jainendra
  • 23,989
  • 30
  • 120
  • 167
  • try this link http://stackoverflow.com/a/13095537/1429884 and yes you will definitely face problems inside a scroll view – Ice Box Apr 23 '13 at 06:26
  • @IceBox I tried that, doesn't work :( ... what problems I'll face for `ScrollView` and how can I fixed those? – Jainendra Apr 23 '13 at 06:40
  • It depends on your requirement,I mean if you can put that relative layout outside the context of ScrollView then it will work. – Ice Box Apr 23 '13 at 08:35
  • @IceBox I dont want the relative layout to go outside the context of ScrollView – Jainendra Apr 23 '13 at 09:07

0 Answers0