Gallery OnFling event not working
I've come up with a problem using a G开发者_运维百科allery of Views, by Views I mean that is not a gallery of simple ImageViews, but instead a complex structure that could be resumed as follows:
Gallery
FrameLayout
a. LinearLayout
- ImageView (*)
b. LinearLayout (-)
- TextView
LinearLayout
ScrollView
a. LinearLayout
- ImageView - TextView
The problem is that the onFling is not getting called whenever I fling over the ImageView (*). Don't know if the problem might come in the fact that I have a ScrollView over there, nevertheless the LinearLayout (-) has visibility GONE.
Do you know what might me causing the problem, and if you do, what could be a solution for it. Thanks.
Is imageView is 'clickable' or 'focusable'?
精彩评论