开发者

How to set "textColor" property of button in android 2.1?

开发者 https://www.devze.com 2022-12-26 06:04 出处:网络
I am trying to set \"textColor\" property of butt开发者_Go百科on in android 2.1. But I am unable to set it to correct value ? What is the correct way of setting \"textColor\" property of a button in a

I am trying to set "textColor" property of butt开发者_Go百科on in android 2.1. But I am unable to set it to correct value ? What is the correct way of setting "textColor" property of a button in android 2.1 ?


Just set hex values to change the color. I was able to find this using some trial/error

e.g. #aa0000 for red.

0

精彩评论

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