Re: [android-developers] Layout problem: equal margins in XML

2011-06-13 Thread Mark Murphy
On Sun, Jun 12, 2011 at 10:23 PM, Ted Hopp wrote: > I thought I had addressed that. Assuming that the smaller margins are at > least the minimum, then the larger margins should shrink (the ListView > should expand in that dimension) until they are equal all around. I think > you are right that thi

Re: [android-developers] Layout problem: equal margins in XML

2011-06-12 Thread Ted Hopp
I thought I had addressed that. Assuming that the smaller margins are at least the minimum, then the larger margins should shrink (the ListView should expand in that dimension) until they are equal all around. I think you are right that this cannot be done in XML alone, but I asked hoping that

Re: [android-developers] Layout problem: equal margins in XML

2011-06-12 Thread Kostya Vasilyev
What if the list view's content produces unequal margins in the horizontal and vertical directions? I don't think your requirement, as written, can handle this. If equal horizontal and vertical margins weren't a requirement, I'd say make a FrameLayout with minimum margins (or padding), then set yo