The EqualSpaceLayout is a subclass of ViewGroup that is similar to LinearLayout, however it does not distort the sizes of its child view. EqualSpaceLayout will divide any remaining horizontal or vertical space evenly between all of its children.
The EqualSpaceLayout is now part of DevsmartLib hosted at GitHub. https://github.com/dinocore1/DevsmartLib-Android As always, pull requests are welcome.
How to use it
1) Include the DevsmartLib in your android project.
2) Use the EqualSpaceLayout as you would any other type of Layout: