Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到在某些设备上,当我stopPlayback()在 VideoView 上调用该方法时,最后一张图像仍显示在屏幕上。因此,如果有人知道如何处理它并使该图像消失(不改变视图的可见性或破坏它),我将非常感激。
stopPlayback()
您可以扩展VideoView和覆盖stopPlayback()以用黑色填充视图,或者在停止时显示任何您想要显示的内容(super.stopPlayback()当然,在调用之后)。
VideoView
super.stopPlayback()