title: Set rowSpan or colSpan of a child of a GridLayout programmatically?
body: <p>I have a <code>GridLayout</code> with 5 columns and 3 rows. Now I can insert arbitrary child views, which is great. Even better is, that I can assign <code>columnSpan=2</code> to some item in order to span it to 2 columns (the same with rowSpan).</p>
  
  <p>The problem now is, that I cannot assign rowSpan or columnSpan programmatically (i.e. at runtime). Some search suggested something like this:</p>
  
  <pre><code>layoutParams.columnSpec = GridLayout.spec(0, columnSpan);
  </code></pre>
  
  <p>But I don't quite understand what the parameters of spec mean (start and size). The documentation is also quite poor at this point.</p>
  
  <p>Any help is highly appreciated!</p>