TabHost每个选项卡的字体颜色怎么修改?

编程有钱人了 编程有钱人了 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

TabHost每个选项卡的字体颜色怎么修改?
默认是白色 的啊 求怎么修改

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff"
tools:context=".RadioActivity"
android:textColor="#000000" >

<TabHost
android:id="@+id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:textColor="#000000">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:textColor="#000000" >

<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="visible"
android:textColor="#000000">



android:textColor="#000000" 什么地方都设置了 没效果
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
编程有钱人了
Android 80,490 成员 91,375 内容