我正在使用CommonsWare的MergeAdapter来合并两个ListViews。如何将固定页脚添加到此列表?
我是这样做的:
MergeAdapter adapter = new MergeAdapter();;
View msg=inflater.inflate(R.layout.inicio_msg,null);
((TextView)msg.findViewById(R.id.msg_text)).setText(tw.getText());
adapter.addView(msg, false);
View news=inflater.inflate(R.layout.inicio_news,null);
adapter.addView(news, true);
setListAdapter(adapter);我将固定页脚放在哪里以及如何放置?
发布于 2015-03-18 02:25:46
然后,您将以与没有MergeAdapter时相同的方式完成此操作
在ListView之后,在
ListView in a vertical LinearLayoutLinearLayouthttps://stackoverflow.com/questions/29100214
复制相似问题