performClick 是使用代码主动去调用控件的点击事件(模拟人手去触摸控件) boolean android.view.View.performClick() Call this view's OnClickListener, if it is defined. Returns: True there was an assigned OnClickLi
lint检查会报警告信息:(onTouchListener warning: onTouch should call View#performClick when a click is detected)–>onTouch在不执行touch时候应该断掉view的touch事件 错误使用: findViewById(R.id.fl_container).setOnTouchListener(ne