title: Scroll to a specific view in scroll view
body: <p>I have added a scrollview and the subchilds inside the scrollview. At some point i need to scroll to a specific view.</p>
  
  <pre><code>&lt;scrollview&gt;
  
  1. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  2. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  3. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  4. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  5. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  6. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
  7. &lt;linearlayout&gt;
  
      &lt;textview&gt;&lt;/textview&gt;
      &lt;textview&gt;&lt;/textview&gt;
  
     &lt;/linearlayout&gt;
  
     &lt;button&gt;
     &lt;/button&gt;
  
   &lt;/scrollview&gt;
  </code></pre>
  
  <p>The above layout was created dynamically. so i can't have the xml file posted here. Layout creation is completely dynamic. Even the number of child view inside the linearlayout may also vary.</p>
  
  <p>So when i click on the button i need to get scrolled to a particular view say here when i click on button i need to scroll to the linear layout 4. 
  I tried with the scrollTo method but it scrolls to the top of the scrollview. </p>
  
  <p>Please provide some suggestions.</p>