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.
如何以编程方式在我的视频播放器 (MediaPlayer) 上设置半透明层? 我需要在 onTouch() 事件中执行此操作。
例如,如果它在 a 中FrameLayout,您可以在其上放置一个,并更改代码 ( )ImageView的可见性.setVisibility()
FrameLayout
ImageView
.setVisibility()