예제 #1
0
        private void DrawBorder(BorderDatePicker view)
        {
            var nativeEditText = (global::Android.Widget.EditText)Control;
            var shape          = new ShapeDrawable(new Android.Graphics.Drawables.Shapes.RectShape());

            shape.Paint.Color       = view.BorderColor.ToAndroid();
            shape.Paint.StrokeWidth = 10;
            shape.Paint.SetStyle(Android.Graphics.Paint.Style.Stroke);
            nativeEditText.Background = shape;
        }
예제 #2
0
 private void DrawBorder(BorderDatePicker view)
 {
     Control.Foreground = new SolidColorBrush(Windows.UI.Colors.Black);
 }