Remove no limits flag to prevent menu from going outside of the screen

This commit is contained in:
Ensar Sarajčić 2023-07-28 16:08:52 +02:00
parent 0a1af2f75e
commit 6a57c9c823

View File

@ -88,8 +88,6 @@ class MainActivity : SimpleActivity(), FlingListener {
WindowCompat.setDecorFitsSystemWindows(window, false)
window.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS)
mScreenHeight = realScreenSize.y
mAllAppsFragmentY = mScreenHeight
mWidgetsFragmentY = mScreenHeight