Interface CodeTheme<T extends CodeTheme<T>>

Type Parameters:
T - The type of the dynamic theme.
All Superinterfaces:
BaseTheme<T>, StringTheme<T>
All Known Implementing Classes:
AppTheme, AppWidgetTheme

public interface CodeTheme<T extends CodeTheme<T>> extends StringTheme<T>
A BaseTheme to implement the code theme.
  • Method Details

    • getCodeData

      @NonNull String getCodeData()
      Returns the data for the theme code.
      Returns:
      The data for the theme code.
    • getCodeBackgroundColor

      @ColorInt int getCodeBackgroundColor()
      Returns the color for the code background.
      Returns:
      The color for the code background.
    • getCodeStrokeColor

      @ColorInt int getCodeStrokeColor()
      Returns the color for the code stroke.
      Returns:
      The color for the code stroke.
    • getCodeDataColor

      @ColorInt int getCodeDataColor()
      Returns the color for the code data.
      Returns:
      The color for the code data.
    • getCodeFinderColor

      @ColorInt int getCodeFinderColor()
      Returns the color for the code finder.
      Returns:
      The color for the finder data.
    • getCodeOverlayColor

      @ColorInt int getCodeOverlayColor()
      Returns the color for the code overlay.
      Returns:
      The color for the code overlay.
    • getCodeContrastRatio

      float getCodeContrastRatio()
      Returns the code contrast ratio for by this theme.
      Returns:
      The code contrast ratio for by this theme.
    • getCodeStyle

      int getCodeStyle()
      Returns the style for the theme code.
      Returns:
      The style for the theme code.