lint error fixed

This commit is contained in:
Vladimir Enchev
2015-06-03 16:31:14 +03:00
parent 6b2d47e0db
commit 887aea68c5

View File

@ -65,9 +65,10 @@ function onItemsPropertyChanged(data: dependencyObservable.PropertyChangeData) {
view.android.setOnTabChangedListener(view._listener);
var tabHost = <android.widget.TabHost>view.android;
var tabIndex: number;
if (view.selectedBackgroundColor) {
for (var tabIndex = 0; tabIndex < tabHost.getTabWidget().getTabCount(); tabIndex++) {
for (tabIndex = 0; tabIndex < tabHost.getTabWidget().getTabCount(); tabIndex++) {
var vg = <android.view.ViewGroup>tabHost.getTabWidget().getChildTabViewAt(tabIndex);
var stateDrawable = new android.graphics.drawable.StateListDrawable();
@ -83,7 +84,7 @@ function onItemsPropertyChanged(data: dependencyObservable.PropertyChangeData) {
}
}
for (var tabIndex = 0; tabIndex < tabHost.getTabWidget().getTabCount(); tabIndex++) {
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);