When I use a RelativeLayout with either fill_parent or wrap_content as height and an element which specifies: android:layout_alignPa
RelativeLayout
fill_parent
wrap_content
android:layout_alignPa
When you inflate the layout, use inflate(R.layout.whatever, parent, false), where parent is the ListView. If you don't do that (e.g., you pass null for the parent), RelativeLayout gets strange in list rows.
inflate(R.layout.whatever, parent, false)
parent
ListView
null