Hi,
Im new to android but ive followed some beginner tutorials.
They always expain how to make a message box or input box.
But my question is: how do I create a rectangle?
Ive done some research, this "should" be it:
But the variable c is not defined.Paint myPaint = new Paint(); myPaint.setColor(Color.rgb(0, 0, 0)); myPaint.setStrokeWidth(10); c.drawRect(100, 100, 200, 200, myPaint);
Im guessing c is bitmap.
If so, then:
Should be it, but I have no idea what Config.config is.createBitmap(int width, int height, Bitmap.Config config)
How can i make this work?