Builder

open class Builder

Builder class for specifying options when applying contrast.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
@CanIgnoreReturnValue
open fun setHighContrastThemeOverlay(@StyleRes highContrastThemeOverlayResourceId: Int): ColorContrastOptions.Builder
Sets the resource id of the high contrast theme overlay.
Link copied to clipboard
@CanIgnoreReturnValue
open fun setMediumContrastThemeOverlay(@StyleRes mediumContrastThemeOverlayResourceId: Int): ColorContrastOptions.Builder
Sets the resource id of the medium contrast theme overlay.