Skip to content Skip to sidebar Skip to footer

Fixed Height Of Tablerow Android

I have a calendar that contains a tableLayout with 6 rows, each row contains 6 cells of type CelluleMensuelle (it extends a LinearLayout). In the beginning, all rows have the same

Solution 1:

You need to set the android:weightSum attribute of the TableLayout, so if you have 6 rows and you want to keep the same height for them and each of the row has the attribute weight set to 1, the android:weightSum attribute of the TableLayout needs to be 6.


Post a Comment for "Fixed Height Of Tablerow Android"