title: ProgressDialog in Notification
body: <p>I've been trying to put a ProgressDialog inside my custom notification layout. It's not working, since ProgressDialog's can not be created inside an XML. Therefore, I'm asking here for help.</p>
  
  <p>How should I be able to implement the ProgressDialog in my custom layout?</p>
  
  <p>I have looked <a href="http://developer.android.com/guide/topics/ui/dialogs.html" rel="nofollow">here</a>, but that doesn't explain how I would go if I want the ProgressDialog inside a custom layout.</p>
  
  <p>Thanks for any help!</p>