Android Screen-Resolutions?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Android Screen-Resolutions?
Hi there,
is there a list for the most recent screen-resulotions on Android, which my App should supports?
is there a list for the most recent screen-resulotions on Android, which my App should supports?
Re: Android Screen-Resolutions?
Go to Wikipedia and search for "Android screen resolutions". There's a huge gigantic table there. You'll see that the dimensions are all over the map, it is almost impossible to target any particular one. It's better to calculate a width/height ratio and use that to resize and position all the controls. There are glitches with that method too though -- for example, you don't want to resize a button so that on small screens it becomes too tiny to hit.
If it helps, one of the Kickstarter goals is to make all this easier. I can't wait.
If it helps, one of the Kickstarter goals is to make all this easier. I can't wait.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
Yes, I can't wait to. It's horrible right now -.-
How do you handle it, if there are screen-resolutions, which are not proportional like the difference between iPhone 4 and iPhone 5?
If I would resize everything proportional, it would means, that there is free space on an iPhone 5 on the top or bottom.
How do you handle it, if there are screen-resolutions, which are not proportional like the difference between iPhone 4 and iPhone 5?
If I would resize everything proportional, it would means, that there is free space on an iPhone 5 on the top or bottom.
Re: Android Screen-Resolutions?
A proportional resize won't break between the different iPhones, just as it won't break on all those Android sizes. Part of the resizing is determining where objects are located, which you do using percentages. For example, to place an object near the top of the screen, determine what percentage of the screen the top should be at. Maybe it's 10% down from the top. Then after resizing the rectangle, you place the object at 10% of the screen height and it fits. There are two dimensions to resizing -- the rectangles of the objects themselves, and their placement on the screen.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
Oh ok, thanks for this information. It will helps me much I think 
I'm still working to find the right way for me to build mobile Apps for iOS and Android in one App.
mobGUI is a great start for me, but there a much limits. So I'll try the manually resizing way

I'm still working to find the right way for me to build mobile Apps for iOS and Android in one App.
mobGUI is a great start for me, but there a much limits. So I'll try the manually resizing way

-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
How can I set an object to for example 10% of the screen height? Can I enter the % anywhere?jacque wrote:A proportional resize won't break between the different iPhones, just as it won't break on all those Android sizes. Part of the resizing is determining where objects are located, which you do using percentages. For example, to place an object near the top of the screen, determine what percentage of the screen the top should be at. Maybe it's 10% down from the top. Then after resizing the rectangle, you place the object at 10% of the screen height and it fits. There are two dimensions to resizing -- the rectangles of the objects themselves, and their placement on the screen.
Re: Android Screen-Resolutions?
Code: Select all
set the height of <obj reference> to the height of this cd * 0.1
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
Great! It's too bad, that there's no option to enter % directly in the inspector!
Re: Android Screen-Resolutions?
One of the stretch goals from the Kickstarter is to add more automatic resizing routines. Many people will cheer when that happens. 

Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
Hope that comes soon 

Re: Android Screen-Resolutions?
Hi Lars,
You see now that using this method is the same as I showed you before?
Has something changed?
Simon
You see now that using this method is the same as I showed you before?
Has something changed?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: Android Screen-Resolutions?
YesSimon wrote:Hi Lars,
You see now that using this method is the same as I showed you before?
Has something changed?
Simon

I rebuild my latest App from scratch again. There are still some things I'm missing (for example the possibility to show on an iPad another structure as on an iPhone without duplicated buttons in different groups or substacks).
But now I'm thinking that this way will be much better, as you showed me before
