listview底部增加按钮

View bottomView=getActivity().getLayoutInflater().inflate(R.layout.btn_my_course, null);

myCourses = (FButton) bottomView.findViewById(R.id.myCourses);

lv = (ListView) view.findViewById(R.id.more2_lv);
        
lv.addFooterView(bottomView);

通过addFooterView方法实现,

bottomView为自定义底部View布局文件
原文地址:https://www.cnblogs.com/yshyee/p/4661136.html