Android Row becomes Unclickable with Button

前端 未结 4 2051
时光取名叫无心
时光取名叫无心 2020-12-01 03:23

I have a listView, where each row has a button in the row layout. However, this seems to make the row itself unclickable. How can I make both the button and row clickable? <

4条回答
  •  不知归路
    2020-12-01 04:00

    Unfortunately I don't think that is possible. You ListView row can either have focusable widgets, like a button, or be clickable, not both. See link.

提交回复
热议问题