Im new to xamarin and i'm trying to create a table layout in my main activity, but I dont want to create it from the xml.
I have a number, and I want to create a table based on this number. if the number can be divided by 2, I want that in each row there will be 2 colums. else, I want to create rows that in each row there will be 2 colums, and in the last row only one colum.
sorry for the poor english.