Question

I want to implement a dialog(or alert dialog) like extending Dialog component in Android.

In phone 8 message box only allows showing title and message. I would like to add new views like button, images etc to my dialog. How can i achive this, or is it possible?

thnx.

Was it helpful?

Solution

The Windows Phone Toolkit contains an example of a custom message box, which already allows some more (although still limited, imo) freedom. If that one doesn't fullfil your requirements, you can just peek at the source to get an idea as how to go about rolling your own message box.

If memory serves, it uses a Popup internally, to display a modal screen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top