mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-14 02:09:54 +02:00
edge-to-edge: Set setDecorFitsSystemWindows(false)
This fixes the unwanted margin at the bottom of the screen on Samsung One UI 7 based on Android 15.
This commit is contained in:
@ -315,6 +315,7 @@ public class Keyboard2 extends InputMethodService
|
||||
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
// Allow to draw behind system bars
|
||||
wattrs.setFitInsetsTypes(0);
|
||||
window.setDecorFitsSystemWindows(false);
|
||||
}
|
||||
updateLayoutHeightOf(window, ViewGroup.LayoutParams.MATCH_PARENT);
|
||||
final View inputArea = window.findViewById(android.R.id.inputArea);
|
||||
|
Reference in New Issue
Block a user