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.
我是 android 的初学者,我要做的是我有一个播放图像的音频。同样在底部栏中,我有一个映射按钮。现在我需要在单击地图按钮时将视图更改为地图。但是音频不应该停止,它应该在后台继续播放。
谁能告诉我如何做到这一点?
提前致谢,
特贾斯维
使用ViewAnimator在视图之间切换而不更改活动。