开发者

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

    1. FrameLayout

      a. LinearLayout

      • ImageView (*)

    b. LinearLayout (-)

    • TextView
    • LinearLayout

      1. 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'?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜