From 4b93ae583a4d09ce7306797a9783e5c16ac0475c Mon Sep 17 00:00:00 2001 From: HotarunIchijou <113282550+HotarunIchijou@users.noreply.github.com> Date: Sun, 15 Oct 2023 21:13:09 +0300 Subject: [PATCH] Allow drawing content edge-to-edge --- app/src/main/java/app/suhasdissa/memerize/MainActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/app/suhasdissa/memerize/MainActivity.kt b/app/src/main/java/app/suhasdissa/memerize/MainActivity.kt index 3acd4d7..d21694b 100644 --- a/app/src/main/java/app/suhasdissa/memerize/MainActivity.kt +++ b/app/src/main/java/app/suhasdissa/memerize/MainActivity.kt @@ -16,6 +16,9 @@ import app.suhasdissa.memerize.ui.theme.MemerizeTheme class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + + WindowCompat.setDecorFitsSystemWindows(window, decorFitsSystemWindows: false) + setContent { MemerizeTheme { MemerizeApp()