【发布时间】:2012-08-02 17:57:09
【问题描述】:
这是我需要的图片:
http://imgur.com/prXA5 我需要从 1 到 2,而且它必须是一个没有 xml 的程序。
//Create transparent circle
RadialGradient gradient = new android.graphics.RadialGradient(newBitmap.getWidth() / 2,newBitmap.getHeight() / 2, newBitmap.getWidth() - newBitmap.getWidth() / 2, 0x00000000, 0xFF000000, android.graphics.Shader.TileMode.CLAMP);
【问题讨论】: