saynomoo/mig4android — Issue #3: Need to set the height of the layout manually, at least for rows in a ListView
Author: mikaelgrev
Created: 2012-01-09 22:23:26+00:00
State: open

Hello,

As mentioned in this post

http://migcalendar.com/forums/viewtopic.php?f=8&t=3667

MigLayout doesn't set the height automatically (at least not in some circumstances) and it has to be done with something like this:

miglayout.setLayoutParams(new AbsListView.LayoutParams(AbsListView.LayoutParams.MATCH_PARENT, 50));

Thanks,
Mikael