segmented bar new android props fixes

This commit is contained in:
Vladimir Enchev
2015-03-27 11:25:57 +02:00
parent 9ee7d5f90b
commit 4c240487eb

View File

@ -95,9 +95,9 @@ class SegmentedBarColorDrawable extends android.graphics.drawable.ColorDrawable
public draw(canvas: android.graphics.Canvas): void {
var p = new android.graphics.Paint();
p.setColor(this.Color);
p.setColor(this.getColor());
p.setStyle(android.graphics.Paint.Style.FILL);
canvas.drawRect(0, this.Bounds.height() - 15, this.Bounds.width(), this.Bounds.height(), p);
canvas.drawRect(0, this.getBounds().height() - 15, this.getBounds().width(), this.getBounds().height(), p);
}
}