SearchOrbView.Colors
public class SearchOrbView.Colors
A set of colors used to display the search orb.
Summary
Public fields |
|
|---|---|
@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 |
|---|
|
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 methods |
|
|---|---|
static int |
getBrightColor(int color)Computes a default brighter version of the given color. |
Public fields
brightColor
public @ColorInt int brightColor
A brighter version of the search orb used for animation.
Public constructors
Colors
public Colors(@ColorInt int color)
Constructs a color set using the given color for the search orb. Other colors are provided by the framework.
| Parameters | |
|---|---|
@ColorInt int color |
The main search orb color. |
Colors
public Colors(@ColorInt int color, @ColorInt int brightColor)
Constructs a color set using the given colors for the search orb. Other colors are provided by the framework.
Public methods
getBrightColor
public static int getBrightColor(int color)
Computes a default brighter version of the given color.