GridView中 文字颜色问题,在线等 GridView中有二排 文字,现需:整个 GridView 区域色用#EEEEEE 其中的文字用色为 #4b4b4b这如何实现呀,thanks 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给GridView 中的背景设置成 #EEEEEE, 文字的颜色设置为: #4b4b4b 回楼上的,GridView 没有textcolor属性 <GridView android:id="@+id/gridView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numColumns="3" android:paddingBottom="2dip" android:horizontalSpacing="15dip" android:background="#EEEEEE" android:textColor="#4b4b4b" android:verticalSpacing="2dip" android:layout_marginTop="14dip" android:gravity="center"/>这样设置后,整个区域的色成功了,可字的色还设置不了,大家再帮我看下 文字颜色应该在adapter里设置吧 gridView.setBackgound(color),你看这个行不? 文字颜色在adapter的getView函数中使用setTextColor设置;背景颜色直接在布局中设置:android:background="#FFEEEEEE" 安卓智能机如何连接网络中的PLC 关于android_get_control_socket函数的问题 android模拟器播放视频时能发出声音吗? SVN的几个 问 题 droiddraw 乱码 关于ListView中Item消息的问题 Android开发环境搭建 Android新建项目时各个Activity的区别 WAITING FOR THE DEBUGGER问题 APK获取ROOT权限后,无法运行uiautomator Jar包 有没有可能实现给Bitmap清空? 请教一个问题,关于手势的
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:numColumns="3"
android:paddingBottom="2dip"
android:horizontalSpacing="15dip"
android:background="#EEEEEE"
android:textColor="#4b4b4b"
android:verticalSpacing="2dip"
android:layout_marginTop="14dip"
android:gravity="center"/>
这样设置后,整个区域的色成功了,可字的色还设置不了,大家再帮我看下
背景颜色直接在布局中设置:android:background="#FFEEEEEE"