This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes Scroll to specific view. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Scroll to specific view." Watch "Scroll to specific view." New topic
Author

Scroll to specific view.

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi All,

I want to scroll my scrollbar to specific view. Say I have one vertical Scrollview in my app. There are lot of labels and images which are given in Linear Layout. Now when user press a button it should scroll to some text view.
Is it possible in android. I have tried scrollTO and scrollBar method. But they work on pixel and in android we can not refer to static pixel as devices are of different different resolution.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Scroll to specific view.