Possible Duplicate:
how can I show selection of an image in grid view at once
I have a question that I want a check mark image shows when we select an image from grid view in the middle of the image, means suppose when we click on a grid item then a check mark image will appear in the middle of the image which shows the selection of image.
For Example below are showing the iphone screen:

I was able to get the position of the clicked image by making the position final and adding an onClick listener to the imageView. This logs the position of the image that was clicked.
or use this :
For a GridView you can use the setOnItemClickListener method to have an OnItemClickListener listener. That listener will give you a method that you must override with the signature
where you get the position of the item in the grid that was clicked and the View that is inside the cell of the grid. Is that what you need?