In the following code i am having the above error ,here i declared the variable also.
contentBitmap = Bitmap.createBitmap(300, 300,
Config.ARGB_8888);
Backgroundcanvas = new Canvas(contentBitmap);
It's not recognizing Config as a class name. You need to either use the qualified name Bitmap.Config.ARGB_8888 or else put import android.graphics.Bitmap.Config; at the top of the file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With