Comments (7)
频繁切换滚动的文字吗?还是?我来看看能否复现修复问题
有些CUSTOM电视盒子可能软硬件设备 有问题,可以尝试在平板上对比一下
from scrolltextview.
随着界面显隐,频繁创建销毁会导致surfaceview重影,这个由什么解决方式吗?设置了setZorderOnTop(true)
from scrolltextview.
@lylelqc 什么设备会出现这个问题,手机也会吗?
from scrolltextview.
我的也是错误日志如下:
/SurfaceHolder: Exception locking surface
java.lang.IllegalArgumentException
at android.view.Surface.nativeLockCanvas(Native Method)
at android.view.Surface.lockCanvas(Surface.java:310)
at android.view.SurfaceView$4.internalLockCanvas(SurfaceView.java:990)
at android.view.SurfaceView$4.lockCanvas(SurfaceView.java:958)
at anylife.scrolltextview.ScrollTextView.draw(ScrollTextView.java:475)
at anylife.scrolltextview.ScrollTextView.access$600(ScrollTextView.java:38)
at anylife.scrolltextview.ScrollTextView$ScrollTextThread.run(ScrollTextView.java:532)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:278)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:273)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
2022-07-23 12:18:30.614 1305-12347/system_process W/WindowManager: Failed looking up window
from scrolltextview.
有点疑惑,为什么要用 SurfaceView,不觉得有点重量级吗,据我了解,SurfaceView 不支持别的 view 盖在它上面,哪怕是用 TextureView 也好啊
from scrolltextview.
今天使用低端机发现问题比较严重,这周会优化一版本
from scrolltextview.
发布2.4.0 !
from scrolltextview.
Related Issues (20)
- dont move HOT 1
- 请问当字幕长度过短,比如只有几个字,可否实现滚动? HOT 8
- 如何再XML和java代码中设置文字的居中显示(How to set text's gravity in XML and java code?) HOT 5
- 残影 HOT 2
- 单行显示 ,文字很短 ,的时候如何居中显示? HOT 1
- 一堆问题,不好用 HOT 1
- 播放视频的时候滚动字幕会卡 HOT 1
- 不支持动态布局? HOT 1
- setText首次不显示内容 HOT 1
- 字体大小为啥限定20还是浮点型 HOT 1
- 当字数过了1k字,开头就会出现文字堆叠现象 HOT 4
- 若文字短于宽度,怎样设置文字居中? HOT 1
- Android 11 卡死 HOT 1
- 想请问多个一起滚动支持吗 HOT 2
- 在recyclerview 适配器布局使用显示不出来!!!! HOT 4
- 多条文件切换显示怎么做 HOT 1
- 我这边测试时,文字内容设置过大时,字体边缘就有锯齿的情况了。 HOT 2
- android:allowBackup="true" HOT 1
- 无法使用自定义的SpannableString
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrolltextview.