Hi, all I have a gallery, and its items are dynamically show-up by inflating a layout xml file....
I need the views inside (say buttons) that layout xml file are clickable... Here is my xml file.... <Linearlayout orient="vertical" layout_width="fill_parent" layout_height="fill_parent"> <Linearlayout background="RED" layout_weight="1" width="fill_parent" height="fill_parent" clickable="true" /> <Linearlayout background="GREEN" layout_weight="1" width="fill_parent" height="fill_parent" clickable="true" /> </Linearlayout> when I inflate the layout at the adapter, the gallery can't not scrolled when touching on the gallery item. I think that is because the clicking event was issued to only the inflated gallery-item, but didn't bypass to the gallery... (when I remove the "clickable" attribute, the gallery will scroll fine) I think my problem could be solved in 2 ways..... 1. at the gallery-item onClick event handler, do something to bypass the clicking event to gallery 2. at the gallery itself, i could implement 'onItemClick' method. But how to get the coordinate? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en