title: auto-scrolling TextView in android to bring text into view
body: <p>I have a <code>TextView</code> that I'm dynamically adding text to.</p>
  
  <p>in my <code>main.xml</code> file I have the properties set to make my max lines 19 and scrollbars vertical.</p>
  
  <p>in the <code>.java</code> file I am using <code>textview.setMovementMethod(new ScrollingMovementMethod());</code> to allow for scrolling.</p>
  
  <p>The scrolling works great.  As soon as 19 lines are taken up, and more lines are added it starts scrolling just as it should.  The problem is, I want the new text to scroll into view.</p>
  
  <p>I am writing out the value for <code>textview.getScrollY()</code> and it stays at <code>0</code> no matter what (even if I manually scroll it down and add a new line of text).</p>
  
  <p>consequently <code>textview.scrollTo(0, textview.getScrollY());</code> does nothing for me.</p>
  
  <p>Is there another method I should be using to obtain the vertical scroll amount for the <code>textview</code>?  Everything I've read says that for all intents and purposes, what I'm doing should be working :/</p>