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
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
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
I have a rather involved requirement for a rather simple layout. I have an
activity with a single ListView floating in the middle of the screen with a
background margin of uniform width all around. So far no problem. Now I need
the margin to be as large as possible given the content of the ListV
4 matches
Mail list logo