Android Code Snippet Activity as Dialog

Last edited:

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello Luca,
Do you see any advantage to use an activity as a dialog compared to a custom dialog ? I just wondered
 

LucaMs

Expert
Licensed User
Longtime User
Unfortunately, this method, fast and efficient, is not currently usable.
If Erel will find a way to get the dimensions of a Dialog Activity and he will also modify the Designer, then it will be very useful
(I suppose that I should make a request in the "Bugs & Wishlist" forum :))
 

LucaMs

Expert
Licensed User
Longtime User
Since this thread, as it is, is of little value, I am attaching an example (which uses the Erel's technic).

[You can use an Intent with its Extras to avoid using the global variable Caller]
 

Attachments

  • ActivityAsDialog.zip
    14.7 KB · Views: 457
Last edited:
Top