Есть у меня вопрос. Код:
#cpp
@SuppressLint("DrawAllocation")
@Override
protected void onDraw(Canvas c) {
int i, j;
Paint p;
p = new Paint();
c.drawColor(Color.WHITE); //Draws white color as color of background
for(i = 0; i <= getWidth(); i =+ 7) {
for(j = 0; j <= getHeight(); j =+ 7) {
c.drawPoint(i, j, p); //Draws the points
}
}
}
}