MoshErsan MoshErsan - 1 month ago 20
Android Question

TextView Within Gallery

i have scrollable

TextView
and
Gallery

when i enable the
onTouchEvent()
for the
TextView
, i cant navigate throught the
Gallery

and if i disable the
onTouchEvent()
, i can scroll right and left throught the
Gallery

but can't scroll up down into
TextView
.

i've tried to do tricks, like send the same
MotionEvent()
to both
Gallery
And
TextView

..
any ideas how to solve it?

Answer

Have you tried using ScrollView in gallery? Here is some working example: ScrollView inside Gallery, both scrolling independently