AButton IStepperRenderer.CreateButton() { var button = new MButton(MaterialContextThemeWrapper.Create(Context), null, Resource.Attribute.materialOutlinedButtonStyle); // the buttons are meant to be "square", but are usually wide, // so, copy the vertical properties into the horizontal properties button.SetMinimumWidth(button.MinimumHeight); button.SetMinWidth(button.MinHeight); button.SetPadding(button.PaddingTop, button.PaddingTop, button.PaddingBottom, button.PaddingBottom); return(button); }
public MaterialEntryRenderer(Context context) : base(MaterialContextThemeWrapper.Create(context)) { VisualElement.VerifyVisualFlagEnabled(); }
public MaterialTimePickerRenderer(Context context) : base(MaterialContextThemeWrapper.Create(context)) { }