views:

127

answers:

2

I am able to create a grid view layout as shown Here

when a image is clicked I would like to bring that image to the foreground (full screen) for 2 seconds and then go back to the grid layout.
Can you please point me to the appropriate examples/docs or pointers on how to do this .

Thanks

A: 

I am not currently in front of my programming computer so the following will be a little ad-hoc - below is what I would consider doing

1.) have your activity extend OnClickListener

2.) in your onClick, have it grab the view that was clicked and the image resource

3.) choose a method you feel would be best to show it (imageview/canvas/new Intent with dialog theme)

4.) have that new means display it fill_parent / fill_parent

5.) use some means to control the timer and dismiss itself (haven't played with this one much)

I know you'd like docs/examples, but I can't provide that at the moment, hope that offers a little bit of help

Ben
now that you are back at your computer, how about some code?
coneybeare
A: 

Did you ever work out how to do this as I'm now at the same point and struggling!

Bex