I have ExpandableListActivity with custom CursorTreeAdapter. Everything worked fine until I added ImageButton in ChildView. After addition onChildClick stopped working. OnClick action for ImageButton works fine. When I remove/hide Image button onChildClick starts to function again. Is there an option to combine these two??
I have ExpandableListActivity with custom CursorTreeAdapter . Everything worked fine until I added ImageButton
Share
Setting focusable option to false button.setFocusable(false) did the trick, similar to Samir’s suggestion.