color check added

This commit is contained in:
Vladimir Enchev
2015-06-03 17:24:34 +03:00
parent 887aea68c5
commit 918fe5f3b4

View File

@@ -87,7 +87,10 @@ function onItemsPropertyChanged(data: dependencyObservable.PropertyChangeData) {
for (tabIndex = 0; tabIndex < tabHost.getTabWidget().getTabCount(); tabIndex++) {
var tabChild = <android.view.ViewGroup>tabHost.getTabWidget().getChildTabViewAt(tabIndex);
var t = <android.widget.TextView>tabChild.getChildAt(1);
t.setTextColor(view.color.android);
if (view.color) {
t.setTextColor(view.color.android);
}
}
}
}