The property you are looking for is layout_weight, which would get set on the EditText elements within the LinearLayout.
Layout weight tells the UI how the elements within that container should allocate the space. More specifically, it tells the UI which how much space each element is entitled to. If you ever worked with html, it's like specifying percentages for your columns.
Say you have 2 EditText's and you want each of them to space the linear layout evenly, you would do this:
<LinearLayout...>
<EditText
android:layout_width="0dip"
android:layout_weight="1">
<EditText
android:layout_width="0dip"
android:layout_weight="1">
</Linearlayout>
Note: I'm not 100% sure why, but you need to specify 0dip for the property (in this case: Width) that you want to be distributed by the weight.
In the case above, each textbox is entitled to 50% of the space available in the Linear Layout. Why? Because the total weight of all the elements inside the LinearLayout is 2 and each textbox is entitled to 1 (See Formula Below)
([allocation for current element] / [sum of all the weights]) * 100 = % of space allocated
(1 / 2) * 100 = 50%
If you want the first textbox to take up 66% and the second textbox to take up 33%, you would do this:
<LinearLayout...>
<EditText
android:layout_width="0dip"
android:layout_weight="2">
<EditText
android:layout_width="0dip"
android:layout_weight="1">
</Linearlayout>
So that's how layout weight would help you, however, I don't think it has the ability to wrap around for two reasons.
1) The textboxes don't have any limit for how big or small they can be, so how would they know when they've reached the limit and need to wrap? You might be able to specify minimumWidth to force it to wrap at some point.
2) I don't think LinearLayout's wrap. They are one row that goes on endlessly.
Seems like you might need to write your own custom layout class that involves performing measurements on what's contained within the class and how much screen space is available.
Android - LinearLayout Horizontal with wrapping children