Creates a row of views that will fit within the
layout span of the row. This is called by the layout method.
This is implemented to fill the row by repeatedly calling
the createView method until the available span has been
exhausted, a forced break was encountered, or the createView
method returned null. If the remaining span was exhaused,
the adjustRow method will be called to perform adjustments
to the row to try and make it fit into the given span.
Returns:
the position to start the next row
Parameters:
-
rowIndex - the index of the row to fill in with views. The
row is assumed to be empty on entry.
-
pos - The current position in the children of
this views element from which to start.