title: Android ListView: Header/Footer that fills the remaining space on screen
body: <p>I want to make a chat-like view using ListView where the new messages appear at the bottom of the screen (therefore I use android:stackFromBottom="true") and I want to add a header to the ListView which will appear at the top of the screen. When there are few messages there will be an empty space between the header and the messages, when there a lot of messages, the ListView will be scrollable and the header will be hidden, when the bottom messages are visible (the header will scroll along with the rest of the messages).
  The problem is that I can't tell the ListView to let it's headers or items fill the remaining space on the screen. android:layout_height="fill_parent" doesn't help. I can make the header static using RelativeLayout, but I don't want to. Any ideas?</p>