开发者

Are there any standard android attribute which specifies color of text to be white

Can you please tell me if there is any standard android textColor which specifies the color of the text to be white?

I have tried either textColorPrimary or textColorSecondary, but both开发者_StackOverflow社区 are black.

<Button
 android:textColor="?android:attr/textColorPrimary
/>


Or android:textColor="@android:color/white"


What about: android:textColor="#ffffffff"?

or Cristian's android:textColor="@android:color/white".

Other colors you can use are listed here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜