How do I change the color used to indicate a tab has been selected on a TabHost?
问题 On the android TabHost layout , when the user selects a tab the color of the tab changes temporarily. How do I either disable this color change, or specify the color that the tab changes to? 回答1: UPDATED Instead of making an own example and taking credit for it, I found my old bookmarked tutorial. How to change background on Android Tabs 回答2: I'll suggest you to implement your own tab_indicator_selector.xml. Example: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http:/