summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Folder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/Folder.java')
-rw-r--r--src/com/android/launcher3/Folder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Folder.java b/src/com/android/launcher3/Folder.java
index dfd4fd35a..1cad48d3d 100644
--- a/src/com/android/launcher3/Folder.java
+++ b/src/com/android/launcher3/Folder.java
@@ -1347,6 +1347,8 @@ public class Folder extends LinearLayout implements DragSource, View.OnClickList
int left = (grid.availableWidthPx - width) / 2;
// Drop the top down a little so it isn't bounded by the page indicators
int top = (int) (bounds.top + (bounds.height() * 1.15) - height);
+ // Make sure the top margin stays consistent
+ lp.topMargin = getResources().getDimensionPixelSize(R.dimen.folder_margin);
if (width >= bounds.width()) {
// If the folder doesn't fit within the bounds, center it about the desired bounds