Implemented percent support for width, height and margins

This commit is contained in:
Hristo Hristov
2015-12-15 14:36:04 +02:00
parent 9418ab8f63
commit 1dbb742908
25 changed files with 834 additions and 212 deletions

View File

@@ -4,6 +4,14 @@
export class CommonLayoutParams extends android.widget.FrameLayout.LayoutParams {
constructor();
public widthPercent: number;
public heightPercent: number;
public topMarginPercent: number;
public leftMarginPercent: number;
public bottomMarginPercent: number;
public rightMarginPercent: number;
public left: number;
public top: number;