There are two things I want to achieve with the Gallery view:
1) when a user makes a selection within the Gallery view I do not want the images to move (i.e. I do not want the selected image to move to the center)
2) when a user makes a selection within the Gallery view I want the selected image to be highlighted orange on ACTION_DOWN, and the highlight removed on ACTION_UP – just like on Buttons.
How is that done ?
Solved it myself …
the following features are included in this sample code
scrolling
the GODAWFUL
Gallery.setOnItemSelectedListener().
(although this needs more work –
namely storing the selection because
the Gallery will lose the
highlighting after it’s scrolled
off-screen)