How to set the current active tab color?

You must Login before you can answer or comment on any questions.

Hi,

This is for an Android app.

I have a Tabgroup at the top of my app, which has 5 tabs. It launches with the first tab active, but no color. When you change tabs, it changes the color of the active tab to yellow briefly and then turns grey.

How can I set the color of the Active tab to be blue? I tried to set "backgroundSelectedColor:blue" when I create the tabs, but didnt really work.

I am using Titanium 1.7.3 SDK, and Android 2.2 and above.

Thanks! Sri

1 Answer

Check the Properties section in the docs. Checkout activeTabBackgroundSelectedImage and activeTabBackgroundSelectedColor.

Your Answer

Think you can help? Login to answer this question!