[UPDATED] As Erel suggested, it is simpler to use this method
See this example
How to use an Activity as Dialog.
Add this line to the file Manifest (using the Manifet Editor):
replacing actDialog with the name of your Activity.
Example: https://www.b4x.com/android/forum/threads/strange-activity.62144/#post-392212
Tag: Dialog
See this example
How to use an Activity as Dialog.
Add this line to the file Manifest (using the Manifet Editor):
B4X:
SetActivityAttribute(actDialog, android:theme, "@android:style/Theme.Dialog")
replacing actDialog with the name of your Activity.
Example: https://www.b4x.com/android/forum/threads/strange-activity.62144/#post-392212
Tag: Dialog
Last edited: