public static void ApplySourceSansProFont([NotNull] this Android.Widget.TextView target)
        {
            Guard.ThrowIfNull(target, nameof(target));

            CustomFontUtils.ApplyFont(target, CustomFontUtils.SourceSansPro);
        }
Exemple #2
0
 public TextView(Context context, IAttributeSet attrs, int defStyle) : base(context, attrs, defStyle)
 {
     CustomFontUtils.ApplyFont(this, attrs);
 }
        public static void ApplyOswaldFont([NotNull] this Android.Widget.TextView target)
        {
            Guard.ThrowIfNull(target, nameof(target));

            CustomFontUtils.ApplyFont(target, CustomFontUtils.Oswald);
        }