Try to remove screen padding by moving the setting to style file

This commit is contained in:
Benau
2021-05-02 14:01:29 +08:00
parent 98ad55ed4e
commit 557ba52ec7
2 changed files with 1 additions and 5 deletions

View File

@@ -261,11 +261,6 @@ public class SuperTuxKartActivity extends SDLActivity
}
catch(Exception e) {}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
{
getWindow().getAttributes().layoutInDisplayCutoutMode =
LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
}
}
// ------------------------------------------------------------------------
@Override