[英]How to add an special item on the begining of the ListView
I have some tabs on the top of the screen.Below that theres a ListView. 我在屏幕顶部有一些标签。这是一个ListView。
My problem is that,I want to set an item "Go To Up Folder" on the very beginning of the ListView and that should be look alike a ListView items. 我的问题是,我想在ListView的最开始设置一个项目“Go To Up Folder”,它应该看起来与ListView项目相似。
您可以使用ListView.addHeaderView()
方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.