对于在list列表中会有不变的元素,例如在屏幕上方,或者底部。
LayoutInflater infla = LayoutInflater.from(this);
View footView = infla.inflate(R.layout.wish_list_labels, null);
listView = this.getListView();
listView.addFooterView(footView, null, false);