标签: java android eclipse background
我有这个代码来绘制一个颜色背景,但我寻找渐变背景。
canvas.drawColor(getResources().getColor(R.color.blue));
如何更改此代码以在背景上绘制线性渐变?
感谢所有人!