How to put a button inside group item in an ExpandableListView?
android, button, events, expandablelistview
Solution
Android ExpandableListView can have any buttons in Group or child.
Make sure that the button is not focusable like below in adapter.
editButton.setFocusable(false);
this will help to click on Group and Button inside group.parent seperately
Problem
I'm developing an application for Android. How could I put a button in a group of a ExpandableListView? By clicking the button a dialog will be displayed instead of open or close the group. Click outside the button, the group should behave normally opening and closing. The image below shows where I would like to insert the button. http://img193.imageshack.us/img193/2060/expandablelistviewbutto.png