Hey guys
I'm really struggling here - I know it's probably a very simple fix but I cannot for the life of me figure it out.
I'm making an app for Android. I want it to be exactly 1080x1920. It can scale if it wants to, but I want it to only do that when it's loading up on a mobile device. My main struggle is because every single thing I do, instead of making it 1080x1920, it changes the resolution to something stupid like 360x640. The only way I've found around it so far is to make the stack 1080x1920 on my computer, but that means I won't be able to see half my stack....
I feel like I've tried every variation of fullscreen, fullscreenmode, setting the height and width of the stack, and pixelSscale, all to no avail. Like I said, I don't want it to scale down at all - I want it to be fully 1080x1920 (though if it scales slightly from there to accommodate other phone sizes that's fine, just as long as it stays sharp and looks good)
Sorry for the simple question
Thanks in advanced
Changing size of a full screen app for android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Changing size of a full screen app for android
All Android devices have different resolutions and screen sizes, so no matter what size the stack is, it won't fit on at least some devices. There are two approaches for this.
1. Use fullscreenMode to automatically scale to fit.
2. Get the screenrect of the device and script the location or rectangle of every control based on its size relative to the screen. Also script the relative font sizes of the fields if necessary.
I prefer fullscreenMode whenever possible. To retain the desired proportions use either showAll or noBorder. Some devices will have black or colored blank bars around the edges depending on their screenrect. There are cheats to get around some of that depending on your layout.
For development make your stack half as large as your desired final size. LC will scale it up if there's room. If that's still too large make it quarter size. The important part is to keep the ratio the same as your target size.
1. Use fullscreenMode to automatically scale to fit.
2. Get the screenrect of the device and script the location or rectangle of every control based on its size relative to the screen. Also script the relative font sizes of the fields if necessary.
I prefer fullscreenMode whenever possible. To retain the desired proportions use either showAll or noBorder. Some devices will have black or colored blank bars around the edges depending on their screenrect. There are cheats to get around some of that depending on your layout.
For development make your stack half as large as your desired final size. LC will scale it up if there's room. If that's still too large make it quarter size. The important part is to keep the ratio the same as your target size.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Changing size of a full screen app for android
Hey Jacque
Thanks for replying. I was using fullscreenmode as showAll, and if I'm remembering correctly, it would still scale down to 360x640
.
I ended up making the stack 1080x1920 on my computer and will let it sort itself out from there
. As it stands, there's no plans to release it to a huge amount of people, so I probably can worry about it when I get there 
Thanks for the reply!
Thanks for replying. I was using fullscreenmode as showAll, and if I'm remembering correctly, it would still scale down to 360x640

I ended up making the stack 1080x1920 on my computer and will let it sort itself out from there


Thanks for the reply!