Yes I know, how to get the click event from a button and how to move to a specific item in a Gallery by using setSelection.
But if I select the first item, that item will be in the middle of the screen and only 2 images shows up. When I move to second image, the 2nd image will come to middle and 3 images will cover the screen, and on selecting 3rd item, first item will be out of the screen and the 2nd, 3rd and 4th image shows up. What I need is to show 3 images on the screen, where the first image is selected, when I click or swipe, 1st image should be replaced by the second image, second by 3rd and 3rd by 4th using slide animation. I am not able to get the exact way as this in android, compared to my colleagues in Iphone, who have achieved this using the ScrollView method of Iphone. So, I was thinking is there any default methods in android, or Should I have to customize it. Regards, Shruthi. On Wed, Jun 29, 2011 at 7:45 PM, TreKing <treking...@gmail.com> wrote: > On Wed, Jun 29, 2011 at 3:10 AM, Shruthi Varma > <shruthi.tlis...@gmail.com>wrote: > >> I can achieve swipe and slide action in gallery view but I am not able to >> click and slide. > > > Help with what? You can figure out how to get the click event from a button > and how to move to a specific item in a Gallery by reading the documentation > for both. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en