How can I make the footer of a ListView stretch to fill the remaining space?
问题 I have a ListView which can contain any number of items. When it uses less than the whole height of the screen I want to show a footer which fills the remaining space. The footer is just a tiled image. I can't just set it as the background of the ListView or its container, because the list items are partially transparent and it must be the main background and not the footer visible through them. Adding the footer view works fine if the footer is of a fixed height, but if the fixed height is