i want to create a grid in android wherein suppose
- if i pass an arraylist with 5 elements first row should have 3 columns and next row should have 2 columns with centered
- if i pass an arraylist with 6 elements first row should have 3 columns and next row should have 3 columns
- if i pass an arraylist with 7 elements first row should have 3 columns, next row should have 3 columns and next row should have 1 column with centered