How do you make an activity behave like a dialog? For example the figure shows a dialog which is an activity.
a) Have your activity ready.
b) On your app's manifest file change the activity as shown below
That is all to get an activity to behave like a dialog.