Here’s one that was bugging me for ages, setting the width child items of a horizontal LinearLayout using percentages without 10/15 minutes of trial and error. Set the weightSum of the layout to 100 and the layout_width of each of the the children to 0px then you can set the layout_weight attribute of each of …