title: How is it possible to add an icon on the right title of a DialogFragment?
body: <p>I am currently working with a DialogFragment, but I cannot set an icon on the top right corner.</p>
  
  <p>I have seen some tricks to display the icon as a Dialog icon:</p>
  
  <pre><code> @Override
   public Dialog onCreateDialog(Bundle savedInstanceState) {
    Dialog myDialog = new AlertDialog.Builder(getActivity())
       .setIcon(R.drawable.ic_info)
       .setTitle(title)
    return myDialog;
   }
  </code></pre>
  
  <p>but this would not help as the icon is on the left side and is not intuitive to click</p>
  
  <p>I know that I could set a custom layout, but I would be sure that the layout would reflect all the OS and OEM manufacturer customizations (same style)</p>
  
  <p>Any help?</p>
  
  <p><img src="https://i.stack.imgur.com/twQ8c.png" alt="enter image description here"></p>