private FrameLayout InitializeCroutonViewGroup(Resources resources)
        {
            var croutonView = new FrameLayout(Activity);

            if (null != OnClickListener)
            {
                croutonView.SetOnClickListener(OnClickListener);
            }

            int height;

            if (Style.HeightDimensionResId > 0)
            {
                height = resources.GetDimensionPixelSize(Style.HeightDimensionResId);
            }
            else
            {
                height = Style.HeightInPixels;
            }

            int width;

            if (Style.WidthDimensionResId > 0)
            {
                width = resources.GetDimensionPixelSize(Style.WidthDimensionResId);
            }
            else
            {
                width = Style.WidthInPixels;
            }

            croutonView.LayoutParameters = new FrameLayout.LayoutParams(width != 0 ? width : ViewGroup.LayoutParams.MatchParent, height);

            //TODO: THIS WAS THE FIX
            croutonView.SetBackgroundColor(this.Style.BackgroundColor);

            // set the background drawable if set. This will override the background
            // color.
            if (Style.BackgroundDrawableResourceId != 0)
            {
                Bitmap background = BitmapFactory.DecodeResource(resources, Style.BackgroundDrawableResourceId);
                var    drawable   = new BitmapDrawable(resources, background);
                if (Style.IsTileEnabled)
                {
                    drawable.SetTileModeXY(Shader.TileMode.Repeat, Shader.TileMode.Repeat);
                }
                croutonView.SetBackgroundDrawable(drawable);
            }
            return(croutonView);
        }