fix padding on text-view & text-field (#3758)

* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
This commit is contained in:
Hristo Hristov
2017-03-09 16:09:53 +02:00
committed by GitHub
parent a4809fed16
commit 1d49f5f3c3
42 changed files with 269 additions and 236 deletions

View File

@ -454,7 +454,7 @@
public static getVerticalAlignment(view: android.view.View): string;
public static setVerticalAlignment(view: android.view.View, value: string): void;
public static getPadding(view: android.view.View): { left: number, top: number, right: number, bottom: number };
public static getPadding(view: android.view.View): android.graphics.Rect;
public static setPadding(view: android.view.View, left: number, top: number, right: number, bottom: number): void;
public static getPaddingLeft(view: android.view.View): number;