¡@

Home 

2014/10/16 ¤W¤È 08:11:58

android Programming Glossary: customtabbar

How to change the color of tab 'underbar' in actionbarsherlock

http://stackoverflow.com/questions/11273888/how-to-change-the-color-of-tab-underbar-in-actionbarsherlock

tab_indicator item item name android gravity center item item name android textStyle normal item style style name customTabBar parent Widget.Sherlock.ActionBar.TabBar item name android showDividers middle item item name android divider @drawable tab_divider..

How to style the divider between Ice Cream Sandwich tabs?

http://stackoverflow.com/questions/9172504/how-to-style-the-divider-between-ice-cream-sandwich-tabs

true item item name android background @drawable tab_line item item name android gravity center item style style name customTabBar parent @android style Widget.Holo item name android showDividers middle item item name android divider @drawable divider2.. item name android actionBarTabStyle @style customTabStyle item item name android actionBarTabBarStyle @style customTabBar item style The red line is shown and everyting looks godd except for the divider between the tabs. As you can see inside.. there is not title and a divider would look strange. Update With the answer from Aneal in mind I added a second style customTabBar. The style selects a drawable as a divider. The divider is a solid black line created with the following 9patch drawable..