Class TextViewUtils.URLSpanUnderlineSameColor

  • All Implemented Interfaces:
    android.os.Parcelable , android.text.ParcelableSpan , android.text.style.UpdateAppearance

    
    public class TextViewUtils.URLSpanUnderlineSameColor
    extends URLSpan
                        

    Custom link style: keeps the underline while preserving the original text color instead of the theme's default link color.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void updateDrawState(@NonNull() TextPaint ds)
      • Methods inherited from class android.text.style.URLSpan

        describeContents, getSpanTypeId, getURL, onClick, toString, writeToParcel
      • Methods inherited from class android.text.style.CharacterStyle

        getUnderlying, wrap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextViewUtils.URLSpanUnderlineSameColor

        TextViewUtils.URLSpanUnderlineSameColor(String url)