title: how can I set the Title bar Size and title Size dynamically in android
body: <p>I am trying to set my alert dialog box Title size and title bar size for which I am not using any text box or theme to display my title name .I am using the following code to set my title name, title background and font color:-</p>
  
  <p>CODE-</p>
  
  <pre><code>@Override
  public boolean onLongClick(View arg0) 
     { 
          custom = new Dialog(Activity_AddItem.this);
          custom.setTitle("Selected Product");
          custom.getWindow().setBackgroundDrawableResource(R.color.button_color);
          custom.getWindow().setTitleColor(Color.WHITE);
          custom.show();
          return false;
  
      }
  </code></pre>
  
  <p><strong>Snapshot</strong>
  <img src="https://i.stack.imgur.com/jxTMl.png" alt="enter image description here"></p>
  
  <p>Is there any way to change the titlebar size and title font size without using theme or style or text box? </p>