commit | 207968345aa31c4a6286d16ee6a8adb14f64092a | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Thu Aug 20 13:10:33 2015 -0700 |
committer | Ben Kwa <kenobi@google.com> | Thu Aug 20 13:16:36 2015 -0700 |
tree | 1ad1d1801ff457856497c52a4fe827cb6649554f | |
parent | c091e218afcdddf4d510c14d816facea0537cd99 [diff] |
Make grid items be square. Introduce a new GridItem class whose onMeasure method enforces a square aspect ratio, and use it for rendering items when in grid mode. Change-Id: Ieda82b644d0155354ee8e4c1dacae4af7436b7aa