*> I'm using Gallery view within my app. Now when I run the code. Gallery has default selected item is no 1 which is in center and left side is blank. * *Instead I want no 1 item should be at left and selected.*
>From the description of Gallery: A view that shows items in a *center-locked*, horizontally scrolling list. http://developer.android.com/reference/android/widget/Gallery.html *> Also clicking on the any gallery item should not bring that item in the center.* What should it do? When you click something it is selected, is it not? And as mentioned above, it "shows items in a center-locked... list" You can try changing the behavior by subclassing it and overriding its various touch events. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 23, 2011 at 5:11 AM, umakantpatil <umakantpat...@gmail.com>wrote: > Hi All, > > I'm using Gallery view within my app. Now when I run the code. Gallery has > default selected item is no 1 which is in center and left side is blank. > Instead I want no 1 item should be at left and selected. > Also clicking on the any gallery item should not bring that item in the > center. > > I tired hunting it lot on the groups but not found any solution. Is this > possible or not ? > If yes then how come? > > Thanks > > > -- > 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