I have written a couple layout files where I used the layout_weight attribute to create a ratio between different views.
At some point, I start getting
I think, the only alternative is to make a function that would be called onResume and will set all sizes and positions. Anyway, by weight you can set only sizes but no padding's (so layouts become even more complicated), no textSize's (impossible to compensate this somehow), let alone such things as number of lines.