scrollview is extremly slow on ics (android 4.0) when containing a long textview

前端 未结 2 1096
南旧
南旧 2021-01-06 06:36

Here\'s my problem, i\'m developing a news applicaiton and i used scrollview wrapping a textview to show the content of the news. But i found that scrolling is extremly slo

相关标签:
2条回答
  • 2021-01-06 06:55

    Note that you can add the android:hardwareAccelerated="false" for a specific activity (or even a specific view) as seen here: http://developer.android.com/guide/topics/graphics/hardware-accel.html if you want to keep the rest of your app hardware accelerated.

    0 讨论(0)
  • 2021-01-06 07:07

    Well, i've found the solution on my own

    just set android:hardwareAccelerated="false" in the manifest.xml

    Still quite confused about the reason, waiting for an explanation.

    0 讨论(0)
提交回复
热议问题