More PagedView cleanup
-> Custom content screen is now full screen (with some padding inserted for now)
-> Hiding the hotseat and page indicators when scrolling to the
custom content screen
-> Adding background scrim fade in to custom content space.
Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 561bd16..bf9773a 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -839,6 +839,11 @@
mWorkspace.addCustomContentToLeft(customContent);
}
+ // The custom content needs to offset its content to account for the QSB
+ public int getTopOffsetForCustomContent() {
+ return mWorkspace.getPaddingTop();
+ }
+
@Override
public Object onRetainNonConfigurationInstance() {
// Flag the loader to stop early before switching