Ejemplo n.º 1
0
 public TrackerDrawable(SeekBar parent)
 {
     _parent = parent;
     _rect   = new Rect();
     _paint  = new Paint {
         StrokeWidth = 1,
     };
     _paint.SetStyle(Paint.Style.Fill);
     _scale       = DroidFactory.DisplayScale;
     MinimumColor = new Color("33B5E5");
     MaximumColor = new Color("C2C2C2");
 }
Ejemplo n.º 2
0
 public virtual void SetBackground(Color color)
 {
     BackgroundHexCode = color.HexCode;
     Redraw();
 }