Pentium10
Pentium10

Reputation: 207922

Setting color in two different ways @*android:color/color1 vs @android:color/color1

I have seen this example:

@*android:color/secondary_text_light

What's that * asterisk doing there? What is the difference when using or not?

Upvotes: 2

Views: 726

Answers (1)

HXCaine
HXCaine

Reputation: 4258

As far as I know in Android XML it is supposed to be a wildcard, replacing any number, but it seems an odd placement to me.

There is nothing about it in the documentation or guide, other than here.

Perhaps it is a bug or mistake that doesn't cause compilation errors.

Upvotes: 1

Related Questions