I have the following gradient (generated dynamically):
GradientDrawable dynamicDrawable = new GradientDrawable(); dynamicDrawable.setGradientType(Gra
Bitmap.createBitmap()
Canvas
new Canvas(bitmap)
draw(canvas)
GradientDrawable