Hi all,
If you know about Candy Crush or Farm Heroes game, when you are out of move (lose a game), a popup will appear asking whether you want to buy more moves or power up...
I want to design something similar. My main activity (Activity1) also has an variable called "moves" and it will be reduced as the player plays. If moves = 0, I want to have a popup appear. My question is:
1. If I design the popup as an label in the same activity, how can I set it to topmost of Activity1, and dim and disable all other views in the activity?
2. Can I design the popup in a new activity (Activity2), if can, then how to make Activity2 transparent so that I till can see Activity1 as background, i,e Activity2 on top of Activity1