i have a popup that I show/hide periodically. I have it on the main application file and only there. the application has a vertical layout, and then a canvas within that. I want to put the popup as the first child of the App and the canvas as the second.
how can i center the popup smack in the middle without worrying about scrolling or anything, so regardless of anything else it always popups center screen?
Is PopUpManager.centerPopUp() what you are looking for?
no i tried that and it will not center the popup for whatever reason
How are you instantiating the popup? Like this?
PopUpManager.addPopUp(myPopUp, this, true);
"this" should be the application.
Are you using absolute layout?
Where is the popup displaying?
If this post answered your question or helped, please mark it as such.