Android: Make scrollable TextView always focus first line? -


how make scrollable textview focus on first line/focus top?

problem: when scroll textview third line @ first page,it assume there 3 lines of text in second page, causing text "disappears" when second page has 1 line of text.

txtcaptions.scrollto(0,txtcaptions.getlayout().getlinetop(0)); doesn't work me.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -