开发者

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 tri开发者_StackOverflow中文版ggered.

Is there a way to make this work?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜