2

i want to use button.setonclicklistener and onListItemClick what i need to do

bbkaaka
  • 297
  • 2
  • 5
  • 16
  • Take a look at this question: http://stackoverflow.com/questions/3789943/using-android-how-can-i-select-rows-from-a-listview-which-contains-button-contro/3791340#3791340 – adamp Nov 23 '10 at 07:04

1 Answers1

0

Set focusable of the button to false, and both of them will work.

button.setFocusable(false);
Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228