스크롤뷰 안에 리스트뷰를 넣는 경우 이중 스크롤 현상으로 말씀하신 현상이 발생됩니다.
이럴떄는 리스뷰의 높이를 강제 할당 해야 합니다.
해결 하셨을지 모르겠지만, 저도 같은 문제로 고민했던 적이 있어 소스를 첨부합니다.
아래와 같이 함수를 정의하시고, 사용법은 listViewHeightSet(사용한 어댑터, 리스트뷰);
설정해주시면 됩니다.
private void listViewHeightSet(Adapter listAdapter, ListView listView){
int totalHeight = 0;
for (int i = 0; i < listAdapter.getCount(); i++) {
View listItem = listAdapter.getView(i, null, listView);
listItem.measure(0, 0);
totalHeight += listItem.getMeasuredHeight();
}
ViewGroup.LayoutParams params = listView.getLayoutParams();
params.height = totalHeight + (listView.getDividerHeight() * (listAdapter.getCount() - 1));
listView.setLayoutParams(params);
}