Charles Darke
Charles Darke

Reputation: 45

Single dialog application

I have an android application where all the logic is in a dialog box. How do I just have this dialog as the activity and avoid creating a normal activity/view?

Upvotes: 0

Views: 116

Answers (1)

Macarse
Macarse

Reputation: 93143

Make your Activity have a Dialog theme placing this in the AndroidManifest:

<activity android:theme="@android:style/Theme.Dialog">

Similar question: Android Activity as a dialog.

Upvotes: 1

Related Questions