Highlighted

Resizing and using Desktop and Android?

Explorer ,
Feb 24, 2019

Copy link to clipboard

Copied

Hey everyone, im sure this question popup up not once and not twice, but i still dont get it no matter how much i try.

when i design an app using my Desktop PC, i ran the Emulator builded in Adobe Animate, i see the page like this:

MSE Desktop.png

thats how it supposed to look on the Android also (but its not)

im using this commands to Align and scale:

stage.scaleMode = StageScaleMode.EXACT_FIT;

stage.align = StageAlign.TOP;

and after that, i use the next command to Calculate the Screen Weight so i can place the buttons using code:

var ScreenWidth = stage.fullScreenWidth;

so with ScreenWidth i know the exact positions to place my buttons and what size the buttons should be according the the same Width of the screen.

but on my android, i see it like this:

Screenshot_20190224-191548.jpg

please help me understand why thats happening and how i fix that.

Thanks.

TOPICS
Development

Views

239

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

Resizing and using Desktop and Android?

Explorer ,
Feb 24, 2019

Copy link to clipboard

Copied

Hey everyone, im sure this question popup up not once and not twice, but i still dont get it no matter how much i try.

when i design an app using my Desktop PC, i ran the Emulator builded in Adobe Animate, i see the page like this:

MSE Desktop.png

thats how it supposed to look on the Android also (but its not)

im using this commands to Align and scale:

stage.scaleMode = StageScaleMode.EXACT_FIT;

stage.align = StageAlign.TOP;

and after that, i use the next command to Calculate the Screen Weight so i can place the buttons using code:

var ScreenWidth = stage.fullScreenWidth;

so with ScreenWidth i know the exact positions to place my buttons and what size the buttons should be according the the same Width of the screen.

but on my android, i see it like this:

Screenshot_20190224-191548.jpg

please help me understand why thats happening and how i fix that.

Thanks.

TOPICS
Development

Views

240

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
Feb 24, 2019 0

Have something to add?

Join the conversation