Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Android
how to bring clicked item as leftmost item
shawn peter
Ranch Hand
Posts: 1325
1
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am using
http://www.dev-smart.com/archives/34
to get horizontal list view.I need to scroll the selected item left and show it as leftmost item of the visible items.how to archive this?
ibrahim yener
Ranch Hand
Posts: 202
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You have to use scrollTo() method.
This method takes two parameters X and Y where stands for x,y coordinate of screen View.scrollTo(0, 0) will take you top-left corner of the screen.
For more detail :
http://developer.android.com/reference/android/view/View.html#scrollTo%28int,%20int%29
My Google play account
Honk if you love justice! And honk twice for tiny ads!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Fixed length for drop-down list
how to write a app to show pdf page by page
java.awt.List horizontal scroll bar
strings
Right Click List Selection
More...