开发者

Setting text color in a flipper

I am using a flipper where in there are like 50 text views..I want to set a color to all 开发者_如何学编程of them..how do I do that in 1 shot?


You should be able to set a style or theme for the whole activity like

<style name="CustomTheme">    
    <item name="android:textColor">#ff0000</item>
</style>

And you can set this style to your activity like

<activity android:theme="@style/CustomTheme">

The docs from google will give moe idea and examples http://developer.android.com/guide/topics/ui/themes.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜