To disable scrolling, you can use OnTouchListener ()
listView.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_MOVE) { return true;
OR
listView.setScrollContainer(false);
To disable click, in your custom override, ArrayAdapter isEnabled, as shown below:
@Override public boolean isEnabled(int position) { return false; }
source share