Re-layout when ratio changes. Add getter for ratio.
Merge pull request #4 from JakeWharton/layout

Merged: Re-layout when ratio changes. Add getter for ratio.