Height of ListView fills the whole screen, although set as wrap_content
i have this ListView inside a LinearLayout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <TextView .../> <EditText /> ... </EditText> <ListView android:id="@+id/words_list" android:layout_width="match_parent" android:layout_height="wrap_content" > </ListView> </LinearLayout> The List is populated programmatically by a SimpleCursorAdapter: adapter = new SimpleCursorAdapter(this, R.layout.list_row_search, mCursor, from, to);