title: how to make my own custom dialog box
body: <p>I've downloaded AppRate (<a href="https://github.com/TimotheeJeannin/AppRate" rel="nofollow">https://github.com/TimotheeJeannin/AppRate</a>) and used it to prompt a dialog box asking user to rate the app after a specific # of launches &amp; time elapsed. It is working fine so far..
  Only thing is, I want to merge it with a custom made layout (cooked on an XML file) so the dialog box would look, well, different from standard app theme..
  IS THAT EVEN POSSIBLE ?</p>
  
  <hr>
  
  <p>code:</p>
  
  <pre><code>private void showDefaultDialog() {
  
      Log.d(TAG, "Create default dialog.");
  
      String title = "Rate " + getApplicationName(hostActivity.getApplicationContext());
      String message = "If you enjoy using " + getApplicationName(hostActivity.getApplicationContext()) + ", please take a moment to rate it. Thanks for your support!";
      String rate = "Rate it !";
      String remindLater = "Remind me later";
      String dismiss = "No thanks";
  
      new AlertDialog.Builder(hostActivity)
              .setTitle(title)
              .setMessage(message)
              .setPositiveButton(rate, this)
              .setNegativeButton(dismiss, this)
              .setNeutralButton(remindLater, this)
              .setOnCancelListener(this)
              .create().show();
  
  }
  </code></pre>
  
  <hr>
  
  <p>thank you so much.</p>