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?