Android Navigation Drawer ListView Headers

做~自己de王妃 提交于 2019-12-09 19:15:42

问题


I've made a navigation drawer in my app. Inside my navigation drawer is a ListView. It's a simple list view with text items. The Gmail android app has a ListView with headers.


(source: phonedog.com)

As you can see, the words: INBOX, RECENT LABELS, ALL LABELS are headers. I would like to implement exactly those type of headers into my app. Is this feature an inbuilt android thing or do I have to create something custom. If yes then how.

Let me know if you need any more info. Thanks in Advance.

来源:https://stackoverflow.com/questions/19341033/android-navigation-drawer-listview-headers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!