Android: Adding static header to the top of a ListActivity

前端 未结 5 814
别那么骄傲
别那么骄傲 2020-11-28 23:07

Currently I have a class that is extending the ListActivity class. I need to be able to add a few static buttons above the list that are always visible. I\'ve attempted to

5条回答
  •  情深已故
    2020-11-28 23:38

    Adding a static header is easy, just make a separate relative view that has the alignParentTop (or bottom, right or left) attribute set to true.

提交回复
热议问题