This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/yar" { | |
Properties { | |
_ColorLow ("Color Low", COLOR) = (1,1,1,1) | |
_ColorHigh ("Color High", COLOR) = (1,1,1,1) | |
_yPosLow ("Y Pos Low", Float) = 0 | |
_yPosHigh ("Y Pos High", Float) = 10 | |
_GradientStrength ("Graident Strength", Float) = 1 | |
_EmissiveStrengh ("Emissive Strengh ", Float) = 1 | |
_ColorX ("Color X", COLOR) = (1,1,1,1) | |
_ColorY ("Color Y", COLOR) = (1,1,1,1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TextDecorator | |
.decorate(tvContent, text) | |
.setTextColor(R.color.colorAccent, "Lorem", "amet") | |
.setBackgroundColor(R.color.colorPrimary, "dolor", "elit") | |
.strikethrough("Duis", "Praesent") | |
.underline("sodales", "quam") | |
.setSubscript("vitae") | |
.makeTextClickable(new OnTextClickListener() { | |
@Override public void onClick(View view, String text) { | |
Toast.makeText(MainActivity.this, text, Toast.LENGTH_SHORT).show(); |