Ejemplo n.º 1
0
        public override View OnCreateView(View parent, string name, Context context, IAttributeSet attrs)
        {
            if (name.Equals("android.support.v7.view.menu.ActionMenuItemView", StringComparison.InvariantCultureIgnoreCase))
            {
                System.Diagnostics.Debug.WriteLine(name);
                var customFontToolbar = AndroidHelper.CreateCustomToolbarItem(name, context, attrs);
                if (customFontToolbar != null)
                {
                    return(customFontToolbar);
                }
            }

            return(base.OnCreateView(parent, name, context, attrs));
        }