Highlighted

height and widths are interchanged but app displayed in landscape mode

New Here ,
Jul 21, 2015

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.

TOPICS
Performance issues

Views

153

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

height and widths are interchanged but app displayed in landscape mode

New Here ,
Jul 21, 2015

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.

TOPICS
Performance issues

Views

154

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 21, 2015 0

Have something to add?

Join the conversation