Android Game Pause Screen , Dialog Or Activity Dialog?
Solution 1:
I would recommend going for a Dialog (or some other custom overlay). From my experience, inter-Activities transitions aren't always very quick and they can feel kind of sluggish in the context of a game. In my opinion, when I am on a pause screen and want to start playing again, it should be instantaneous.
Plus, an Activity is kind of overkill if you just want to show 4 buttons.
To create a custom dialog containing a custom layout, have a look at the following tutorial and post again if you have specific questions/problems : http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
Solution 2:
An Activity in general is better than a dialog, because u can take care of all things like orientation, theme etc. and it provides more flexibility. Though in simple cases u can use a dialog.
Post a Comment for "Android Game Pause Screen , Dialog Or Activity Dialog?"