Isn't that just done by specifying different values for different states? Just like you would for a custom button? Doesn't look very difficult in the source: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/tab_indicator.xml;h=65df805d73ed4e759fe3f856bd5f6731bdb02ab0;hb=eclair http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/color/tab_indicator_text.xml;h=5f5c2a4a265fbbb0663fdec2bae4363cefaed92d;hb=eclair
On Mar 7, 8:06 am, Petroleum Nasby <[email protected]> wrote: > I have a TabHost that requires indicators more complex than a simple string > label (the tab itself, not the contents of the tab). There is no > graphics involved, > just font size and layout of text. > > The documentation suggests I may call the setIndicator method with a View > instead of a CharSequence, but do not provide any pattern to follow. This > almost > works -- the tabs function but are not colored properly. > > I can probably use OnTabChangeListener to set their background color to white > or black, but clearly this is wrong also -- the orange color > transitions, etc. are lost. > I just want the existing label behavior on text that's laid out. > > What pattern should I be following here? > > P. V. Nasby -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

