mirror of
https://github.com/jamessanford/kegs.git
synced 2025-04-17 06:37:08 +00:00
Still working on obtaining the actual window size.
This commit is contained in:
parent
f557787e81
commit
b3a3ffe648
@ -249,6 +249,12 @@ public class KegsMain extends Activity implements KegsKeyboard.StickyReset {
|
||||
//
|
||||
// We want to use getWindowVisibleDisplayFrame, but it's not
|
||||
// always immediately available. Bug workaround.
|
||||
//
|
||||
// BUG: Sometimes if the device rotates as the soft keyboard
|
||||
// is becoming visible for the first time, the reported
|
||||
// window size is reduced and we don't scale to full screen.
|
||||
// The user can fix this by rotating the screen again.
|
||||
// We may want to trap IME visible/hidden events and update the size.
|
||||
mKegsView.postDelayed(new Runnable() {
|
||||
public void run() { setScreenSize(false); }
|
||||
}, 250);
|
||||
|
Loading…
x
Reference in New Issue
Block a user