I just made a pretty complex activity with more views than I can count.
It's basically like a product page in a store type app with a fixed number of views, the idea was when a product image is clicked, i load the details on the right. That works fine. However now I wanted to use swipe left/right to change pages. Got that working too. Except When that's enabled it captured the touch/tap event so now my button event won't fire. Then I saw by accident the touch image view. Hoping i can add the swipe ability without sacrificing the event.
I also tried it on the activity, however it's underneath everything so it's really hard to touch in the first place to swipe.
any ideas?
It looks like the Gesture Overlay would provide the perfect solution, but I don't really see any threads on it.
http://developer.android.com/reference/android/gesture/GestureOverlayView.html
It's basically like a product page in a store type app with a fixed number of views, the idea was when a product image is clicked, i load the details on the right. That works fine. However now I wanted to use swipe left/right to change pages. Got that working too. Except When that's enabled it captured the touch/tap event so now my button event won't fire. Then I saw by accident the touch image view. Hoping i can add the swipe ability without sacrificing the event.
I also tried it on the activity, however it's underneath everything so it's really hard to touch in the first place to swipe.
any ideas?
It looks like the Gesture Overlay would provide the perfect solution, but I don't really see any threads on it.
http://developer.android.com/reference/android/gesture/GestureOverlayView.html