From 56255c0b48ab8ef2ca8d442901cae4e9bdda7899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 27 Jul 2023 13:37:51 +0200 Subject: [PATCH] Allow drawing under notches and system bars This closes #73 --- .../com/simplemobiletools/launcher/activities/MainActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/activities/MainActivity.kt index 398d65b..3456830 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/activities/MainActivity.kt @@ -91,6 +91,8 @@ class MainActivity : SimpleActivity(), FlingListener { window.setDecorFitsSystemWindows(false) } + window.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS) + mScreenHeight = realScreenSize.y mAllAppsFragmentY = mScreenHeight mWidgetsFragmentY = mScreenHeight