diff --git a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/util/Setup.java b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/util/Setup.java index 76f1b20..1cff567 100644 --- a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/util/Setup.java +++ b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/util/Setup.java @@ -237,6 +237,7 @@ public class Setup { final PageConfig dashboard_config = dashboard.config; dashboard_config.applyDefaultFolderConfig(); + dashboard_config.defaultFolderConfig.outsideTapClose = true; dashboard_config.screenOrientation = PageConfig.ScreenOrientation.PORTRAIT; dashboard_config.gridPRowNum = 6; dashboard_config.menuKey = new EventAction(GlobalConfig.USER_MENU, null); @@ -413,6 +414,7 @@ public class Setup { Resources resources = LLApp.get().getResources(); final PageConfig config = drawer.config; config.applyDefaultFolderConfig(); + config.defaultFolderConfig.outsideTapClose = true; config.gridPRowNum = config.gridLRowNum = 4; config.scrollingDirection = PageConfig.ScrollingDirection.X; if(Build.VERSION.SDK_INT>=19) { diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/views/FolderView.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/views/FolderView.java index 6192848..896c7db 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/views/FolderView.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/views/FolderView.java @@ -320,7 +320,6 @@ public class FolderView extends FrameLayout { if(mOnTapOutsideListener != null) { mOnTapOutsideListener.onTapOutside(this); } - return true; } return false; }