Listview - Footer at the bottom of screen

前端 未结 4 556

I have a ListView with a footer added with listview.addFooterView(footerView);

All works as expected excepted in one case: when my listview\'s items doe

4条回答
  •  盖世英雄少女心
    2020-12-17 16:52

    You cannot use ListView footer as footer for the whole layout. You're better off with RelativeLayout as root element for your layout, and then a direct child of it containing the footer view with the attribute: android:layout_alignParentBottom="true"

提交回复
热议问题