iphone - Change background color of TTTabItem when using Three20 library -
I am using TTTabStrip in my iPhone app, the screenshot is below
 I want to change the background color of the selected TTTabItem with blue and green - and want to change the color of the font with white color. 
 How can I do this? 
 The way  TTTabItem  is styled styled  TTStyleSheet takes advantage of the system. I had to do this for my own project across the three 20 libraries, and the easiest way I found was that  was a subclass and tab items and tabs Special methods related to bars style were overridden. 
 The original idea is  tab baritime  and  tabBarTintColor  are on the lines of etc. You can see the source of  TTDefaultStyleSheet  to see which methods you need, and how their default implementation looks. 
 Once you have done this, you have to set your stylesheet as a global stylesheet, such as   Then you should allow to set your style for tab items and so on.   How to use Style System for three 20 more information, 
Comments
Post a Comment