• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Scrolling textview stops working

 
Ranch Hand
Posts: 218
13
VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 218
13
VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic