tags:

views:

32

answers:

1

Hi,

I want to display the icons in grid view and also text heading for that icon just below it. can some one help me out.

A: 

You are supplying an Adapter to the GridView. Have that Adapter return Views for the cells that have icons "and also text heading for that icon just below it". You might use a vertical LinearLayout with an ImageView and TextView children, for example.

Here is a free excerpt from one of my books that shows how to do this sort of thing for a ListView -- the same technique holds for GridView.

CommonsWare