Be Smart

FANTAISIE

SmartPhone - iPhone, iPad, Android

导航

2011年3月23日 #

[Android 問題] How to Add a Button in ListView, and Make the Event of onClick and onItemClick Coexist?

摘要: If you add a Button on the view of each item in ListView,the touch event is catched and reacted by the button instead of the ListView even outside the area of the Button.The item can not be selected and switched.It's a simplest solution that you can set the attribute android:focusable to be fals 阅读全文

posted @ 2011-03-23 09:57 FANTAISIE 阅读(2225) 评论(0) 推荐(0) 编辑