How would I extend TextView to allow the drawing of text with a gradient effect?
TextView
TextView secondTextView = new TextView(this); Shader textShader=new LinearGradient(0, 0, 0, 20, new int[]{Color.GREEN,Color.BLUE}, new float[]{0, 1}, TileMode.CLAMP); secondTextView.getPaint().setShader(textShader);
548k questions
547k answers
4 comments
86.3k users