2017-10-08 2 views

Répondre

2

Recherche TextView par son utilisation et SetTextColor méthode pour définir la couleur. ex. comme suit.

var builder = new AlertDialog.Builder (this); 
var dialog = builder.Show(); 
int textColorId = Resources.GetIdentifier ("alertTitle", "id", "android"); 
TextView textColor = dialog.FindViewById<TextView> (textColorId); 
textColor?.SetTextColor (Color.DarkRed);