mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
segmented bar new android props fixes
This commit is contained in:
@ -95,9 +95,9 @@ class SegmentedBarColorDrawable extends android.graphics.drawable.ColorDrawable
|
|||||||
|
|
||||||
public draw(canvas: android.graphics.Canvas): void {
|
public draw(canvas: android.graphics.Canvas): void {
|
||||||
var p = new android.graphics.Paint();
|
var p = new android.graphics.Paint();
|
||||||
p.setColor(this.Color);
|
p.setColor(this.getColor());
|
||||||
p.setStyle(android.graphics.Paint.Style.FILL);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user