Interface design: best practices ?

wl

Well-Known Member
Licensed User
Longtime User
I'm still struggling on how to best design the UI of an app.


Did I understand following correctly that:

If I design a screen in portrait mode (resolution: width1 x height1) and the app is run on a device with another resolution (say: width2 x height2) the screen will be resized automatically to: width2 x height1 / width1 x width2.

So that, as a result, the screen will be filled in width but there will be room to spare or missing content (depending on the proportions) in height ?

This is least the case in the examples given in the beginners tutorial: one might need to reposition some views in height or top position.

If so: would the same apply for a layout in landscape mode ?

Maybe some other hints ?
I read somewhere someone using an Excel sheet to do the recalculations ?


Thanks !
 

thedesolatesoul

Expert
Licensed User
Longtime User
Upvote 0

wl

Well-Known Member
Licensed User
Longtime User
Do I understand this correctly ?

Eg:

Assume:
=======
screen 1:
resolution (expressed in pixels) = reswidth1 x resheight1,
size (expressed in inches) = sizewidth1 x sizeheight1


screen 2:
resolution (expressed in pixels) = (2*reswidth1) x (2*resheight1),
size (expressed in inches) = (2*sizewidth1) x (2*sizeheight1)

so screen 2 is exactly 4 times the size of screen 1 (both in resolution as in physical size)

Then:
=====
In this case Android would not resize the screen (which in this case is perfectly possible) ?
 
Upvote 0
Top