当listview的item里面有button的时候,发现listview的onitemclick事件就无效了,解决两者冲突的方法是:button里面加上android:focusable="false"属性