AlertDialog changing look of font (size, colour, align)
<p>I'm trying to change properties of my AlertDialog inside of my game, currently I'm building it with this way:</p>

<blockquote>
  <p>private static final int DIALOG_INFO = 1;  </p>

<pre><code>private Dialog dialog;  

@Override  
protected Dialog onCreateDialog(int id)  
{  
    AlertDialog.Builder builder = new AlertDialog.Builder(this);  

    switch (id)   
    {       
        case DIALOG_INFO:  

            builder.setTitle("Game Information - Diego 1.0.1");  
            builder.setIcon(R.drawable.icon);  
            builder.setMessage("Test there \n\n");  
            builder.setCancelable(true);  

            dialog = builder.create();  
            dialog.requestWindowFeature(Window.FEATURE_LEFT_ICON);                
            break;  
    }   
    return dialog;  
}
</code></pre>
</blockquote>

<p>And if player clicked certain button, I'm showing this dialog with this way: </p>

<pre><code>showDialog(DIALOG_INFO); 
</code></pre>

<p>Everything works, but I decided to change look of font used in this dialog, with this way: </p>

<blockquote>
  <p>TextView textView = ((TextView)
  dialog.findViewById(android.R.id.message));<br>
          textView.setTextColor(Color.LTGRAY);<br>
          textView.setTextSize(13);<br>
          textView.setGravity(Gravity.CENTER);</p>
</blockquote>

<p>But code works only, if I put this code after showDialog(DIALOG_INFO); which means I have to create new object (TextView textView = ...) everytime I'm showing dialog, and my question is, can't I do it only once while creating dialog? </p>

<p>Thanks in advance.</p>
