So by 'dimension resources' you mean getting the screen size, dividing by number of columns to get width of each?
On Sat, Jun 12, 2010 at 3:01 PM, Mark Murphy <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

