Exploring dense all apps layout.
- Disabling section headers in all apps on tablet layouts
- Fixing issue with predictions not showing on rotation
- Fixing issue with over-aggressive dismissing of keyboard & filtered app state
- Fixing issue where the container bounds were running straight up to the nav bar
Change-Id: I5a5a56afa75b50be96af4894bf785ffbb1b15fb3
diff --git a/src/com/android/launcher3/BaseContainerView.java b/src/com/android/launcher3/BaseContainerView.java
index 2a84432..bd1c625 100644
--- a/src/com/android/launcher3/BaseContainerView.java
+++ b/src/com/android/launcher3/BaseContainerView.java
@@ -59,11 +59,12 @@
mFixedBounds.set(fixedBounds);
if (Launcher.DISABLE_ALL_APPS_SEARCH_INTEGRATION) {
mFixedBounds.top = mInsets.top;
- mFixedBounds.bottom = getMeasuredHeight();
+ mFixedBounds.bottom = mInsets.bottom;
}
// To ensure that the child RecyclerView has the full width to handle touches right to
// the edge of the screen, we only apply the top and bottom padding to the bounds
- mFixedBounds.inset(0, mFixedBoundsContainerInset);
+ mFixedBounds.top += mFixedBoundsContainerInset;
+ mFixedBounds.bottom += mFixedBoundsContainerInset;
onFixedBoundsUpdated();
}
// Post the updates since they can trigger a relayout, and this call can be triggered from