Android EqualSpaceLayout

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. 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:

Paul Soucy

Read more posts by this author.