I set the background for the text view and I want to remove it dynamically, but it does not work, are there any suggestions?
if (mToday) {
monthView[mRow][mColumn].setBackgroundResource(R.color.black);
}
else {
monthView[mRow][mColumn].setBackgroundResource(0);
}
I found a reasonable explanation here why this happens, but again did not solve the problem.
source
share