Switch Between views in FrameLayout?

Use bringChildToFront(view) to show any child view above other child views.

– OhMisterRabbit May 7 at 20:26 Yes getParent(). BringChildToFront(view). No, dialogs do not implement View.

AFAIK, you can start Dialog from any context - no for all this. – Peter Knego May 7 at 20:57 I'm having trouble getting that line of code to work. I have a LinearLayout called l1 that has an edittext in it, a framelayout that contains the linear layout AND my gameboard.

When something happens in the gameboard, I want to display the LinearLayout(which is called l1). It needs to be called from inside the gameboard (which is a SurfaceView) but it isn't working. Do I have to pass the name of l1 to it somehow?

– OhMisterRabbit May 8 at 1:43.

See this page for help with Creating Dialogs.

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.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send