如何改变用来表示标签上TabHost已选定的颜色? [英] How do I change the color used to indicate a tab has been selected on a TabHost?

查看:124
本文介绍了如何改变用来表示标签上TabHost已选定的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android 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?

推荐答案

更新时间:

,我发现我的老喜爱的教程。

Instead of making an own example and taking credit for it, I found my old bookmarked tutorial.

如何更改背景Android上的标签

这篇关于如何改变用来表示标签上TabHost已选定的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆