Q:

Button click and ListView click

I have a ListView. on click of a list item I start a Activity. Now I have added a Button on that ListView and onclick of a button I want to start a another activity. After adding a Button, I can click on the button and start a Activity but now I can not click a list item. What happened to listview's item click ??

A:

Read this excellent blog post: Focus problems with list rows and ImageButtons
Essentially you should add the following to your root layout element in the row-item xml.

android:descendantFocusability="blocksDescendants"

