I should want a non scrollable ListView, and show the entire ListView. It\'s because my entire screen is a ScrollView, and I dispatch widgets with a RelativeLayout, so I don
The correct answer is here.
Just assign this listener to your ListView
:
listView.setOnTouchListener(new OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_MOVE) {
return true; // Indicates that this has been handled by you and will not be forwarded further.
}
return false;
}
});