控件禁止滚动

xiaoxiao2021-02-28  65

myGridview.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { if(event.getAction()==MotionEvent.ACTION_MOVE){ return true; } return false; } });
转载请注明原文地址: https://www.6miu.com/read-63690.html

最新回复(0)