From c41e15faf05236e3bd9573e778d36f6e3f43217b Mon Sep 17 00:00:00 2001 From: vakrilov Date: Thu, 29 Oct 2015 18:08:12 +0200 Subject: [PATCH] Set tab tint color also --- apps/ui-tests-app/tab-view/tabsBackground.xml | 2 +- ui/styling/stylers.android.ts | 1 + ui/tab-view/tab-view.ios.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/ui-tests-app/tab-view/tabsBackground.xml b/apps/ui-tests-app/tab-view/tabsBackground.xml index 3a8a12f60..9b74b46dc 100644 --- a/apps/ui-tests-app/tab-view/tabsBackground.xml +++ b/apps/ui-tests-app/tab-view/tabsBackground.xml @@ -1,5 +1,5 @@ - + diff --git a/ui/styling/stylers.android.ts b/ui/styling/stylers.android.ts index 7568f0847..265b2f356 100644 --- a/ui/styling/stylers.android.ts +++ b/ui/styling/stylers.android.ts @@ -766,6 +766,7 @@ export class ActionBarStyler implements definition.stylers.Styler { private static setColorProperty(view: view.View, newValue: any) { var toolbar = (view._nativeView); toolbar.setTitleTextColor(newValue); + } private static resetColorProperty(view: view.View, nativeValue: any) { diff --git a/ui/tab-view/tab-view.ios.ts b/ui/tab-view/tab-view.ios.ts index a6fa5719d..b791158b9 100644 --- a/ui/tab-view/tab-view.ios.ts +++ b/ui/tab-view/tab-view.ios.ts @@ -324,6 +324,8 @@ export class TabView extends common.TabView { } var tabBar = this.ios.tabBar; + + tabBar.tintColor = this.color ? this.color.ios : null; var states = getTitleAttributesForStates(this); for (var i = 0; i < this.items.length; i++) {