Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scroll to specific view.

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!