Shader shader = new LinearGradient(0, 0, 0, 100, Color.parseColor("#66caf7"), Color.parseColor("#0b8fff"), Shader.TileMode.CLAMP);
textview_licheng.getPaint().setShader(shader); .