title: Unable to Add a subview to a LinearLayout with "Wrap_Content"
body: <p>I'm using data to build elements of a <code>ViewGroup</code>.  The <code>ViewGroup</code> are <code>LinearLayouts</code>, except the leaves, which are <code>TextViews</code>.  Because Data draws the hierarchy, I inflate the <code>LinearLayouts</code> and <code>TextViews</code> from individual XML files programatically on the fly.</p>
  
  <p><strong>My Problem:</strong>
  When I create a <code>LinearLayout</code> with the attribute <code>wrap_content</code>, then inflate a <code>TextView</code> or other <code>LinearLayout</code> into it, I can't get the parents (or enough of them, anyway) to redraw, respecting the new view.  These <code>LinearLayouts</code> always seem to come out at 0 size, because when they are first created (before their children are inflated), they wrap around nothing.</p>
  
  <p>I've tried calling some stock methods of <code>ViewGroup</code> but nothing seems to work.</p>