commit | b7773f93cf3f85cf18fd1661fb3e008682d358e5 | [log] [tgz] |
---|---|---|
author | Steven Ng <stevenckng@google.com> | Tue May 25 18:12:35 2021 +0100 |
committer | Steven Ng <stevenckng@google.com> | Wed May 26 19:27:46 2021 +0100 |
tree | 6ef6c5d67f9728fbe3ffe6283770efd2ca02498a | |
parent | fa7c98ee450fab774cbe54ad7b2f28371c4307c0 [diff] |
Adjust the widgets fitting algorithm to mitigate over packing issue If we are fitting more than one widgets / shortcuts on the same row, we will only allow the total width to be n - 1 cells, where n is the grid width in cells. Test: Run WidgetsTableUtils robolectric test. Bug: 189103942 Change-Id: I2f23cb08fe95d68562188cc7b1852d99d7093dc0