title: AppCompatDialog vs DialogFragment
body: <p>With the latest AppCompat</p>
  
  <pre><code>compile "com.android.support:appcompat-v7:22.2.1"
  </code></pre>
  
  <p>There is both available <code>AppCompatDialog</code> and <code>DialogFragment</code> which one should I prefer are there any differences or problems that can I avoid?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I tried to use either the <code>AppCompatDialog</code> or <code>DialogFragment</code> by converting an existing <code>Dialog</code> that I had, but in none the <code>getDialog().setTitle("Title")</code> seem to work.</p>