Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Create a tablelayout programmatically

hey guys,
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.
thnx!

Answers

Sign In or Register to comment.