Having a thing that scrolls inside another thing that scrolls in generally a bad idea. Google does not recommend it.
This is because of the way android handles scroll events. There's a method called dispatchTouchEvent()
and onInterceptTouchEvent()
that decides whether to intercept the touch event or pass it to it's children. For scrollable views, they will always intercept "swipe" movements. So it will never go to your children.
There are workarounds for this but they are messy and wont work most of the time. You are better off adjusting your UI so as to avoid this situation.
Here are some potential workarounds discussed in these threads if you insist on trying:
ListView in ScrollView potential workaround
ListView inside ScrollView is not scrolling on Android
Android: Scrollable preferences window with custom list view