views:

92

answers:

1

In ProgressDialog's documentation it says:

"A dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time."

I've gotten it working beautifully with a message, but I want to use a custom view instead - a message with a cancel button. But calling setView() on the ProgressDialog seemingly has no effect - it shows the progress bar in the dialog but nothing else. I've tried it with just a TextView with the text "hello", but it doesn't show up.

Does anyone know how to get this feature to work? Is it a real feature?

A: 

A possible workaround is to create a custom dialog with a ProgressBar.

fhucho
Thanks - yes, that is the workaround I'm using, and it works fine. But if anyone knows if this is a real feature I'm curious.
Jake