If so, you better check Asymmetric Grid View than
Googleplay it AsymmetricGridView
Go ahead'n install
GridView-Gridview is an AdapterView which displays items in a two-dimensional, scrollable grid.
-As users reach the end, more results will be generated and will be displayed
-When users clicks on an item, some actions can be performed
-The grid items are auto insterted to the layout using a BaseAdapter
So this tutorial is also GridView tutorial but not on ASP.NET or C++ but ANDROID with all sources are allready been maded...
No surprise you have to configure it before
-Step one
-Define the array or data source which we are about to configure as an example by Column one. two. three... Column 5
Lets start with one column at a time
This would be useful for developers as an example of designing columns under an android app...
So check this out
That's how it'll ended up
You can progress as seen before
This way you can also use it in your own android app development
-Tell the BaseAdapter how to display the data by specifiying a layout for a single view
(From Column one to 5 or more depends on your imagination...)
But ofc, you will need the skills and the ability to achieve it...
It is not for entry-level developers but i want to introduce couple more things
-What does it do?
It indicates number of columns or supply a value of auto_fit just to compute the number of columns based on the available space (android.numColumns)
You can reset
You can allow reordering
Where it will re-organize columns
or you can prevent re-ordering
I hope it'll give you kind of sense about how did developers have made 2048, those are building blocks of the 2048 game and it could be useful for android development as the source is already written. Good luck'n'Enjoy
But to digg deeper and give you more idea about what GridView is also
Extended Explanation
android:stretchMode=''none''
When Stetching is disabled
android:stretchMode=''columnWidth''
When each column is stretched equally
android:stretchMode=''spacingWidth''
When spacing between each column is stretched
When spacing between each column is uniformly stretched
*So those are just some examples about the GridView on android *
It allows you to create a world which is limited by your imagination (also not limited)