阅读背景:

Retrieve a color from values/colors.xml using a variable in name (R.color.name + variable)

来源:互联网 

I have a list of colors in my colors.xml that all have names in the format tColor1, tColor2, tColor3, etc. and I want to retrieve them in a for-to-do loop using the looping integer as part of the name. So I haveI have a list of colors in my colors.xml that a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: