Improving home screen customization
- Created a drawer with tabs for widgets, folders, shortcuts, wallpapers (wallpapers are currently not implemented) - Tapping outside the drawer dismisses it - Moved the all apps icon to the upper right of the screen - Adding a toast that says "No more space on screen" when dragging a widget to a full screen - Fixed bug where you could stack two equal-sized widgets on top of each other on the homescreen (exposed by the new ability to drag widgets onto the home screen) Change-Id: I03b65ce54a85d24328c94e0c06e249571de449ee
This commit is contained in:
1 parent
1bdb9d3467
commit
0e26059548
17 files changed
+466
-132
No files matched your search
@@ -1104,7 +1104,9 @@ out: for (int i = x; i < x + spanX - 1 && x < xCount; i++) {
|
||||
|
||||
boolean found = false;
|
||||
|
||||
if (this.spanX >= spanX && this.spanY >= spanY) {
|
||||
// return the span represented by the CellInfo only there is no view there
|
||||
// (this.cell == null) and there is enough space
|
||||
if (this.cell == null && this.spanX >= spanX && this.spanY >= spanY) {
|
||||
cellXY[0] = cellX;
|
||||
cellXY[1] = cellY;
|
||||
found = true;
|
||||
|
||||
Reference in new issue
Block a user