阅读背景:

如何确定View的背景颜色?

来源:互联网 

I'm trying to get the colour values of my background. The background colour of my application is set to randomise on a button press, but I want to be able to then get the values of that colour in the background and determine what colour that is. This is what I got from my research but whenever I print the results to the console I just get 0s. Any help is really appreciated! I'm trying to get the colour values of my backg




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

分享到: