This library provides a RadioGroup widget with setError functionality similar to Material Design input widget. It supports mult-line error.
repositories {
jcenter()
maven { url “https://jitpack.io” }
}
dependencies {
implementation 'com.github.abhishekab:RadioGroupErrorSupport:v1.1'
}
radioGroupErrorSupport.setErrorTextColor(Color.RED);
radioGroupErrorSupport.setErrorTextSize(12);
radioGroupErrorSupport.setError("This is error test");
// To remove the error
radioGroupErrorSupport.setError(null);