Вопрос

How do you switch between views in a FrameLayout? For example, I have one SurfaceView in my FrameLayout and I want it to display a DialogBox when the game is over to receive user text input. I'm assuming that DialogBox will be stored as another view in the FrameLayout, but how do I actually display it? I'll need to call it from my SurfaceView, because when something happens in the SurfaceView, that DialogBox needs to be displayed.

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top