Be Smart


SmartPhone - iPhone, iPad, Android

My Links

Blog Stats


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 阅读(2114) 评论(0) 编辑