http://yunfeng.sinaapp.com/?p=465
android GridView 如何禁止滚动
设置gridview 的touch事件,是ACTION_MOVE 的话返回true
mDragGrid.setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
return MotionEvent.ACTION_MOVE == event.getAction() ? true
: false;
}
});
原文:http://my.oschina.net/u/1389206/blog/335390