I got 7 buttons aligned horizontally in a layout by giving them each a weight of 1. This however stretches the button so the take up the same amount of space on the screen. I need the buttons to remain the good aspect ratio and still take up the whole width by making use of whitespace between the buttons. Is this possible with weight?
Share
If you want to stretch not buttons but space around them, put buttons to containers and set weight to them. Also take a look at TableLayout and GridLayout.