Interface DynamicLinkWidget

All Superinterfaces:
BaseWidget, DynamicWidget
All Known Implementing Classes:
DynamicTextView

public interface DynamicLinkWidget extends DynamicWidget
Interface to create text widgets and tint their link color according to the DynamicTheme.
  • Method Details

    • getLinkColorType

      int getLinkColorType()
      Returns the link color type applied to this widget.
      Returns:
      The link color type applied to this widget.
      See Also:
    • setLinkColorType

      void setLinkColorType(int linkColorType)
      Set the link color type to this widget.
      Parameters:
      linkColorType - Link color type for this widget.
      See Also:
    • getLinkColor

      @ColorInt int getLinkColor(boolean resolve)
      Returns the value of link color applied to this widget.
      Parameters:
      resolve - true to resolve the link color applied to this widget.
      Returns:
      The value of link color applied to this widget.
    • getLinkColor

      @ColorInt int getLinkColor()
      Returns the value of link color applied to this widget.
      Returns:
      The value of link color applied to this widget.
    • setLinkColor

      void setLinkColor(@ColorInt int linkColor)
      Set the value of link color for this widget.
      Parameters:
      linkColor - Link color for this widget.
    • setLinkColor

      void setLinkColor()
      Set link color for this widget according to the supplied values.

      Generally, it should be a tint color so that link will be visible on this widget background.