-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi Alejandro!
Thanks for your great solution. I have found a code for SetErrorColor method https://stackoverflow.com/questions/33709066/how-to-set-textinputlayout-error-message-colour.
if (Element.ErrorColor != null)
{
AColor errorColor = Element.ErrorColor.ToAndroid();
var fErrorView = Control.Class.GetDeclaredField("mErrorView");
fErrorView.Accessible = true;
var mErrorView =(TextView)fErrorView.Get(Control);
mErrorView.SetTextColor(errorColor);
mErrorView.RequestLayout();
}
Metadata
Metadata
Assignees
Labels
No labels