开发者

How to align header with its underlying data?

开发者 https://www.devze.com 2023-04-10 14:38 出处:网络
I have implemented a list view with static header (the header is not scrolli开发者_Go百科ng with listview), using the \"LinearLayout + ListView\" approach. In general, this list view works like a tabl

I have implemented a list view with static header (the header is not scrolli开发者_Go百科ng with listview), using the "LinearLayout + ListView" approach. In general, this list view works like a table, the header is the LinearLayout and the table body is the ListView. I can insert new column and its corresponding data into the list view. The reason I implement it this way is that I need to let user share some data throught the context menu of the ListView. Both the header name and data could has various length, how could I align the header name with its underlying data?

Any thought are appreciated.

0

精彩评论

暂无评论...
验证码 换一张
取 消