diff options
author | Winson Chung <winsonc@google.com> | 2015-05-11 16:30:13 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-05-11 17:53:47 -0700 |
commit | 13eb527b5ae7f564e3ace6137a8d466636d87188 (patch) | |
tree | a74b3aaaed2dee277e1efea6461fbc9414fbcb41 /src/com/android/launcher3/BaseContainerView.java | |
parent | 57ebefb5891255a23472473d5ec90b5247a334fc (diff) | |
download | android_packages_apps_Trebuchet-13eb527b5ae7f564e3ace6137a8d466636d87188.tar.gz android_packages_apps_Trebuchet-13eb527b5ae7f564e3ace6137a8d466636d87188.tar.bz2 android_packages_apps_Trebuchet-13eb527b5ae7f564e3ace6137a8d466636d87188.zip |
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
Diffstat (limited to 'src/com/android/launcher3/BaseContainerView.java')
-rw-r--r-- | src/com/android/launcher3/BaseContainerView.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher3/BaseContainerView.java b/src/com/android/launcher3/BaseContainerView.java index 2a8443221..bd1c625e3 100644 --- a/src/com/android/launcher3/BaseContainerView.java +++ b/src/com/android/launcher3/BaseContainerView.java @@ -59,11 +59,12 @@ public class BaseContainerView extends FrameLayout implements Insettable { 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 |