Copy link to clipboard
Copied
Hi All,
My mobile game android app should be in landscape mode, when I maximize after minimize the app it will display in landscape mode and screen not rotated, but the problem is height and width are interchanged. So it was displayed half of the screen only remaining was blank screen, if we lock and unlock the device, automatically the height and widths are fit according to screen size.
I handled the above problem using Event.ACTIVATE, if app is active then i reset the width and height. But it is also not working in some devices.