RoundRainbowTextView Android自定义TextView,带渐变色边框的彩虹字效果 RoundRainbowTextView textView = findViewById(R.id.custom); textView.setBorder(2, 5, new int[]{Color.RED, Color.YELLOW});