This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scrolling textview stops working  RSS feed

 
Richard Hayward
Ranch Hand
Posts: 176
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a TextView inside a ScrollView


Clicking the buttons either appends text to the TextView or sets its text to "".




The odd thing is that the scrolling doesn't work until the device is rotated, after which it does, even if I start in portrait, rotate to landscape & then rotate back to portrait.

Set the text to "" and scrolling stops again.

Could anyone tell me what the cause is?
 
Richard Hayward
Ranch Hand
Posts: 176
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So if anyone else here experiences the same problem, I got a solution at stackoverflow:

http://stackoverflow.com/questions/29155840/scrollview-stops-scrolling-after-clearing-textview-text
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!