Custom Color for text
Add it in your root build.gradle
at the end of repositories:
allprojects {
repositories {
//...omitted for brevity
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.Arsh069.CustomColor-Android:final:0.1.3'
}
Sample implementation here
CustomColor.ColorName("text", Start Index, End Index, Text id)
In the above sample you have to add a String text, start index and end index for giving range of text you want to be colored and the id of textview where you want to set it.