AD
public void run() {
Random r=new Random();
for (int i=0; i<tv.length;i++)
int diff = r.nextInt(2000);
int tvNew = value + diff;
if (diff > 0) {
tv[i].setText(str[i] + ": " + value + " + " + tvNew);
tv[i].setBackgroundColor(Color.Green);
}
else {
tv[i].setText(str[i] + ": " + value + " - " + tvNew);
tv[i].setBackgroundColor(Color.Red);
}
}