Add support for snapshot

Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
This commit is contained in:
Hristo Hristov
2017-02-27 14:59:11 +02:00
parent 1eefb1af74
commit 33aa48bdfd
28 changed files with 950 additions and 872 deletions

View File

@ -490,7 +490,19 @@
public static getLetterspacing(view: android.view.View): number;
public static setLetterspacing(view: android.view.View, value: number): void;
public static setBackground(view: android.view.View, background: android.graphics.drawable.Drawable): void;
}
export class DisableUserInteractionListener extends java.lang.Object implements android.view.View.OnTouchListener {
public onTouch(view: android.view.View, motionEvent: android.view.MotionEvent): boolean;
}
export class SegmentedBarColorDrawable extends android.graphics.drawable.ColorDrawable {
}
export class CustomTypefaceSpan extends android.text.style.TypefaceSpan {
constructor(family: string, typeface: android.graphics.Typeface);
}
}
}
}
}