开发者

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

开发者 https://www.devze.com 2022-12-23 18:15 出处:网络
I have seen this example: @*android:col开发者_高级运维or/secondary_text_light What\'s that * asterisk doing there? What is the difference when using or not?As far as I know in Android XML it is sup

I have seen this example:

@*android:col开发者_高级运维or/secondary_text_light

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


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.

0

精彩评论

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