I am developing an android application using a ListViewas a main interface. Each item in the List contains TextView and Button. When the Button is visible the item selection does not work and when the button is not visible the item selection work without problem. This problem is not reproduced if I change the button by an ImageView.
Is there a solution to make the item selection work when the Button is visible?
Directly we can’t set the click option for both
Listitem and theButton. So we have to use the custom adapter.Try this example : http://code.google.com/p/codemobiles/source/browse/CustomListViewDemo/
Click is not working on the Listitem Listview android