Skip to main content
gurup
Participant
Jul 21, 2015 2:52 PM UTC
Question

height and widths are interchanged but app displayed in landscape mode

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.

This topic is closed to new replies. Start a new post to keep the conversation going.