I want to create a layout like this (Like Windows Tiles).

The number of columns will be 1 or 2.
Which layout I can use in android? I used ListView but in this I can't get two clickable columns. Please help.
I want to create a layout like this (Like Windows Tiles).

The number of columns will be 1 or 2.
Which layout I can use in android? I used ListView but in this I can't get two clickable columns. Please help.
On
You can use ListView without problems, just that you need to make two separate items in xml, one that has two columns and one that has only one. You can add then click listener in your ListView Adapter while you are creating the items in getView().
On
Using the ListView. Implement your own adapter en create 2 xml layoutfiles. 1 with a layout that contains 1 frame, and another one that contains 2 frames. Just assign the correct type of layout based on your data.
Example:
1 frame:
<LinearLayout.. >
<!-- controls go here -->
</LinearLayout>
2 frames:
<LinearLayout.. > <!-- set to orientation to horizontal-->
<LinearLayout .. layout_weight="0.5" ><!-- controls go here --></LinearLayout>
<LinearLayout .. layout_weight="0.5" ><!-- controls go here --></LinearLayout>
</LinearLayout>
http://developer.android.com/resources/tutorials/views/hello-gridview.html
Try using gridview