Question

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.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top