I need all the buttons to be the same in size and take up all the free space, but I don’t want to explicitly indicate the size, so that everything looks normal on different screens. 
- try everyone to do the same weight weight - PeDuCKA
- It does not work, then the buttons disappear - Nick
- Arrange the markup code as text, not a screenshot - pavlofff
|
1 answer
For this there is the stretchMode parameter. It is used when you specify the width of the column and set the number to AUTO_FIT mode. default: STRETCH_COLUMN_WIDTH - free space used by columns
- Parameter what? You can by more details - Nick
- I am confused. At first, it seemed to me in the picture that you are using a
GridView. and forGridLayouttryandroid:layout_gravity="center"- pavel163
|