In my app i did use scroll inside a Scrollview layout(root layout).when i did that the child scroll stopped scrolling.For this i found a solution code
childlistview.setOnTouchListener(new ListView.OnTouchListener() {
        @Override
        public boolean onTouch(View v, MotionEvent event) {
            // TODO Auto-generated method stub
            int action = event.getAction();
            switch (action) {
            case MotionEvent.ACTION_DOWN:
            v.getParent().requestDisallowInterceptTouchEvent(true);
            break;
            case MotionEvent.ACTION_UP:
            v.getParent().requestDisallowInterceptTouchEvent(false);
            break;
            }
            v.onTouchEvent(event);
            return false;
        }
        });
It solved the problem.But i can't understand this code.Can anyone help?
 
     
    