void SetupLayer() { materialLayer = new MaterialLayer(Layer); materialLayer.SetCircleLayerColor(CircleLayerColor); materialLayer.SetBackgroundLayerColor(BackgroundLayerColor); materialLayer.SetMaskLayerCornerRadius(CornerRadius); }
void SetupLayer() { AdjustsImageWhenHighlighted = false; cornerRadius = 2.5f; materialLayer = new MaterialLayer(Layer); materialLayer.SetBackgroundLayerColor(BackgroundLayerColor); materialLayer.SetCircleLayerColor(CircleLayerColor); }
void SetupLayer() { materialLayer = new MaterialLayer(Layer); SelectionStyle = UITableViewCellSelectionStyle.None; materialLayer.SetCircleLayerColor(CircleLayerColor); materialLayer.SetBackgroundLayerColor(BackgroundLayerColor); materialLayer.CircleGrowRatioMax = 1.2f; }
void SetupLayer() { materialLayer = new MaterialLayer(Layer); Layer.BorderWidth = 1; BorderStyle = UITextBorderStyle.None; materialLayer.CircleGrowRatioMax = 1; materialLayer.SetCircleLayerColor(CircleLayerColor); materialLayer.SetBackgroundLayerColor(BackgroundLayerColor); // floating label floatingLabel = new UILabel() { Font = floatingLabelFont, Alpha = 0 }; AddSubview(floatingLabel); }