Android: How can I tell if clicked gallery item is the center one?

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-06-13T12:37:42Z Indexed on 2010/06/13 12:42 UTC
Read the original article Hit count: 223

Filed under:
|

Hi all,
I would like to display the gallery item the user clicked on in full screen, however, only if it is the item in the center.
If the clicked item is not in the center I would want it just to be centered.
Any idea how to distinguish the item which is currently in the center from all other items?

Thanks, Rob

© Stack Overflow or respective owner

Related posts about android

Related posts about gallery