android - LinearLayout weight choices -
why use weights 2:4
instead of weights 1:2
? looking through udacity course layout. it's linearlayout 2 children views. , children given weights 2 , 4 respectively opposed 1 , 2. why that?
because wanted to? actual values don't matter, ratios does. when see code evolved on time, had in there weight 1 , removed (while weights don't need whole number, people try keep them way).
Comments
Post a Comment