I want to have a layout that can scroll and a listview inside it.
The listview will expand it\'s height base on how many items in it. Only the ScrollView outside is scrollable.
Don't put ListView inside ScrollView - first rule of android clud :)
Instead you can use simple LinearLayout and manage you ListView items inside it.
Or you can add Header/Footer Views to the ListView and using it without scrollview.