标签:height sha die lamp ttext color nbsp new linear
LinearGradient的用法
LinearGradient linearGradient;
linearGradient = new LinearGradient(0, 0, 0, getHeight(), 0xff808080, 0x33808080,CLAMP);
getPaint().setShader(linearGradient);
TextPaint paint = getPaint();
paint.setColor(getCurrentTextColor());
paint.drawableState = getDrawableState();
标签:height sha die lamp ttext color nbsp new linear
原文地址:http://www.cnblogs.com/dubo-/p/7764465.html