/// <summary>
 /// A convenience method for setting text appearance.
 /// </summary>
 /// <param name="textView">TextView which textAppearance to modify.</param>
 /// <param name="resId">style resource for the text appearance.</param>
 public static void SetTextAppearance(Android.Widget.TextView textView, int resId)
 {
     if (Build.VERSION.SdkInt >= BuildVersionCodes.M)
     {
         textView.SetTextAppearance(resId);
     }
     else
     {
         textView.SetTextAppearance(textView.Context, resId);
     }
 }