public static Icon GetIconFromResource(this Context context, string name)
        {
            var resId = context.Resources.GetIdentifier(name, "drawable", context.PackageName);

            if (resId == 0)
            {
                return(null);
            }
            IconFactory iconFactory = IconFactory.GetInstance(context);

            return(iconFactory.FromResource(resId));
        }