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:-
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;
}
Snapshot
Is there any way to change the titlebar size and title font size without using theme or style or text box?