Seems like this comes up a lot - many people want an non-center-locked
horizontal scrolling list. There are lots of posts here and on
StackOverflow about this. Some of the suggested workarounds are
partly effective, but I have not found a fully working
HorizontalListView yet. Gallery is great, if you want what it does.
The two non-Gallery features that keep being requested are -
- non centered locked so the item you click doesn't jump to the center
- left and right flush so it does not scroll item one beyond the left
edge, and it doesn't scroll the last item beyond the right edge
Does such a widget exist publicly out there anywhere?
On Mar 23, 4:06 pm, Justin Anderson magouyaw...@gmail.com wrote:
* 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 Developerhttp://sites.google.com/site/magouyaware
On Wed, Mar 23, 2011 at 5:11 AM, umakantpatil umakantpat...@gmail.comwrote:
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