various tests fixed

This commit is contained in:
Vladimir Enchev
2015-06-12 15:50:31 +03:00
parent 4673b97eae
commit 072ffed26b
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ export function getNativeColor(textField: textFieldModule.TextField): colorModul
}
export function getNativeBackgroundColor(textField: textFieldModule.TextField): colorModule.Color {
return new colorModule.Color((<android.graphics.drawable.ColorDrawable>textField.android.getBackground()).getColor());
return new colorModule.Color((<any>textField.android.getBackground()).backgroundColor);
}
export function getNativeTextAlignment(textField: textFieldModule.TextField): string {