views:

19

answers:

1

OK, I know this questions sounds weird at first, as GALLERY is designed to be user interactive, but, I like the Gallery functionality, as it suits a lot of my needs. i.e. I can give it a number of pictures, move the whole of them from right to left, or left to right and get them an animate (in my case, zoom) when one of them is selected. So all good.

I just need to do the selection programatically, which I currently have working. I just don't want the user to be able to fling, scroll, select, longpress, etc. by themselves. So no user interaction is required.

So, how can I prevent a user from doing theses things, without writting a gallery function myself (and without chopping a users fingers off!).

Thanks.

A: 

Try setting the clickable and focusable properties of your Gallery View to false.

molnarm
Thanks for the suggestion, but it made no difference. I Tried the lot:- g.setClickable(false); g.setLongClickable(false); g.setFocusable(false); g.setFocusableInTouchMode(false);
andy_spoo
Anyone else got any suggestions? I tried putting a transparent view over the top, but that didn't work either!
andy_spoo