They are right. You shouldn't place listview into scrollview. Instead of it try this:
 <ScrollView android:layout_width="fill_parent" android:scrollbars="vertical"  
android:layout_height="wrap_content" android:scrollbarStyle="insideOverlay">  
<LinearLayout 
android:id="@+id/itemContainer"
android:orientation="vertical" 
android:layout_width="fill_parent"
android:layout_height="wrap_content"  
>     
<!-- YOUR ELEMENTS WILL BE PLACED HERE -->
 </LinearLayout>
</ScrollView>
Then you can add items from code:
private LinearLayout container; 
@Override 
protected void onCreate(Bundle savedInstanceState) { 
    super.onCreate(savedInstanceState);                
    setContentView(R.layout.YOUR_XML);  
    container = (LinearLayout)findViewById(R.id.itemContainer);
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( 
             LinearLayout.LayoutParams.FILL_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); 
/*CREATE YOUR ITEM*/
/*AND PLACE IT INTO CONTAINER*/
container.addView(YOUR_ITEM, layoutParams);
}