ich habe ein Anliegen.
Wie ist es möglich bei der Methode : setTextColor(Color.rgb(0,0,0));
anstatt (0,0,0) 3 random Integer zu verwenden wenn ja wie?
Ich habe es mal so probiert:
Code:
final Random r = new Random();
int rgb = r.nextInt(255 - 0) + 0;
.
.
.
text.setTextColor(Color.rgb(r,r,r));
Code:
The method rgb(int, int, int) in the type Color is not applicable for the arguments (Random, Random, Random






