Bug fixes
- Fixing issue where drop target is not as tall as it should be (5116098) - Fixing issue where number of cells was being computed incorrectly (5112002) - Disabling side page fading in AppsCustomize on the phone UI - Should be using action bar bg states instead of tab bg states (5086625) Change-Id: I0ec927f87cede48dcf4b66cbaa1d62a09f3492b8
This commit is contained in:
1 parent
aaf473c2bb
commit
54c725cc29
7 files changed
+18
-12
No files matched your search
@@ -1528,8 +1528,8 @@ public class CellLayout extends ViewGroup {
|
||||
int smallerSize = Math.min(actualWidth, actualHeight);
|
||||
|
||||
// Always round up to next largest cell
|
||||
int spanX = (width + smallerSize) / smallerSize;
|
||||
int spanY = (height + smallerSize) / smallerSize;
|
||||
int spanX = (int) Math.ceil(width / (float) smallerSize);
|
||||
int spanY = (int) Math.ceil(height / (float) smallerSize);
|
||||
|
||||
if (result == null) {
|
||||
return new int[] { spanX, spanY };
|
||||
|
||||
Reference in new issue
Block a user