Re: [android-developers] Static header in ListView
On 06/12/2010 04:56 PM, Bill Lumberg wrote:
> Thanks Mark. If I have to set the widths for each column, how do I
> ensure that it expands to fit every screen size perfectly?
Perfectly? You'd need to write a MultiColumnListView, which does not
strike me as being a ton o' fun.
You can use dimension resources to get you part of the way there, at
least. And if you can designate one column as absorbing any "slop"
(extra pixels beyond your calculated values), you might get something
that looks OK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 2.1 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home