SearchOrbView.Colors
class SearchOrbView.Colors
A set of colors used to display the search orb.
Summary
Public constructors |
|---|
|
Constructs a color set using the given color for the search orb. |
|
Constructs a color set using the given colors for the search orb. |
|
Constructs a color set using the given colors. |
Public functions |
|
|---|---|
java-static Int |
getBrightColor(color: Int)Computes a default brighter version of the given color. |
Public properties |
|
|---|---|
@ColorInt Int |
A brighter version of the search orb used for animation. |
@ColorInt Int |
The main color of the search orb. |
@ColorInt Int |
A color used to tint the search orb icon. |
Public constructors
Colors
Colors(color: @ColorInt Int)
Constructs a color set using the given color for the search orb. Other colors are provided by the framework.
Colors
Colors(color: @ColorInt Int, brightColor: @ColorInt Int)
Constructs a color set using the given colors for the search orb. Other colors are provided by the framework.
Public functions
getBrightColor
java-static fun getBrightColor(color: Int): Int
Computes a default brighter version of the given color.
Public properties
brightColor
val brightColor: @ColorInt Int
A brighter version of the search orb used for animation.