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.
精彩评论