right now I am setting the width and height staticly like this:
myBitmap = Bitmap.createBitmap(300, 400, Bitmap.Config.ARGB_8888);
How can I get it so the width is FILL_PARENT and the height is WRAP_CONTENT
I have been looking online and am confused by all the options available. There's setLayoutParams(), onMeasure(), setMinimumWidth(), etc....
Can someone point me in the right direction?
I am making the bitmap inside a custom view that is inside my main activity.
Thanks