title: How to implement a confirmation (yes/no) DialogPreference?
body: <p>How can I implement a Preference that displays a simple yes/no confirmation dialog?</p>
  
  <p>For an example, see <code>Browser-&gt;Setting-&gt;Clear Cache</code>.</p>