I am trying to attach a footer, fixed and always visible, at the bottom of the list.
I am currently doing it like this:
@Override public void onActivityCreated(Bundle savedInstanceState) {
While this code creates a view at the bottom of the list, it really does not do what I want:
First, I need a FIXED footer, that is, visible on the screen, regardless of where the list scrolls. With this solution, the footer is only displayed when the screen scrolls to the bottom of the list.
Secondly, I need a footer, even if the list is EMPTY. In this solution, the footer is not displayed when the list is empty.
What is the best way to get a fixed footer (in my case, a button) that always appears under a list or list?
Thank!
android android-listview android-listfragment
gcl1 Sep 10 2018-12-12T00: 00Z
source share