mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-18 03:00:03 +02:00
Compare commits
2 Commits
1.32.1
...
set-window
Author | SHA1 | Date | |
---|---|---|---|
|
b50647f622 | ||
|
cd1b4beb10 |
@@ -315,7 +315,9 @@ public class Keyboard2 extends InputMethodService
|
||||
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
// Allow to draw behind system bars
|
||||
wattrs.setFitInsetsTypes(0);
|
||||
window.setAttributes(wattrs);
|
||||
window.setDecorFitsSystemWindows(false);
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
||||
}
|
||||
updateLayoutHeightOf(window, ViewGroup.LayoutParams.MATCH_PARENT);
|
||||
final View inputArea = window.findViewById(android.R.id.inputArea);
|
||||
|
Reference in New Issue
Block a user