commit | 5f7099af8573c2229427318acd551b92efae02a3 | [log] [tgz] |
---|---|---|
author | Nilesh Agrawal <nileshagrawal@google.com> | Thu Jan 02 15:54:57 2014 -0800 |
committer | Nilesh Agrawal <nileshagrawal@google.com> | Thu Jan 02 15:55:53 2014 -0800 |
tree | 201e91901665a3e207b60790660866864ea806bf | |
parent | 72b4c7c3df6be428e543c2a28f9b325e0e6d9f2b [diff] [blame] |
Allow scrolling folders in when all apps is disabled. Allows for more items to be added into a folder. Allows for scrolling by letting the content area inside the scroll view to be taller. The height of content area was capped in https://googleplex-android-review.git.corp.google.com/#/c/387583/ Change-Id: I8d7950ac9c155e26c5a299c17ae6a2bbf829dce6
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index fa6ce96..2436a51 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java
@@ -199,7 +199,7 @@ TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CellLayout, defStyle, 0); mCellWidth = mCellHeight = -1; - mFixedCellHeight = mFixedCellHeight = -1; + mFixedCellWidth = mFixedCellHeight = -1; mWidthGap = mOriginalWidthGap = 0; mHeightGap = mOriginalHeightGap = 0; mMaxGap = Integer.MAX_VALUE;