Eli Konky
Eli Konky

Reputation: 2717

Android List adapter with a button

I need to implement a list with a custom list adapter view that contains a button. Once I add the button the onClick is not triggered.

Is there a way to make this work?

Upvotes: 1

Views: 944

Answers (1)

Eli Konky
Eli Konky

Reputation: 2717

The solution is to set the button's android:focusable="false"

Upvotes: 1

Related Questions