Android Layout Meassurement Values Only Even Numbers? -


i wondering if there conscious intention of using numbers measurement units when building android layouts. example in android desgin guidelines there multiple of 2 being used see, @ least don't remember google ever using 3, 5 or padding/margin, there official reference talking somewhere argument using uneven numbers wrong?

it coincidence material design has numbers dp measurements. can see here not rule, coincidence. typography has examples of odd measurements:

subheading  english: regular 16sp (device), 15sp (desktop) dense: regular 17sp (device), 16sp (desktop) tall: regular 17sp (device), 16sp (desktop) 

generally, sizes increased exponentially rather linearly. or atleast differences between subsequent sizes increases. (because human brains think logarithmically instead of linearly: why in our brains midpoint of 1 , 9 might 3)

like 2dp, 4dp, 8dp, or 160, 240, 320, 480, 640(image scaling)

so if start 2, you'll numbers if start 1 or 5, you'll odd numbers well.

it have been 5, 10, 25, 50.

boostrap has odd measurements:

@padding-small-vertical:         5px; @padding-small-horizontal:       10px;  @padding-xs-vertical:            1px; @padding-xs-horizontal:          5px; 

but here exponential growth visible.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -