Stay organized with collections
Save and categorize content based on your preferences.
com.google.android.material.color
Interfaces
Classes
ColorContrast |
Utility for applying contrast colors to application/activities.
|
ColorContrastOptions |
Wrapper class for specifying color contrast options when applying contrast to branded and custom
themes.
|
ColorContrastOptions.Builder |
Builder class for specifying options when applying contrast.
|
ColorRoles |
Each accent color (primary, secondary and tertiary), is provided as a group of four supplementary
color roles with different luminance which can be used in the UI to define emphasis and to
provide a greater flexibility in expression.
|
DynamicColors |
Utility for applying dynamic colors to application/activities.
|
DynamicColorsOptions |
Wrapper class for specifying dynamic colors options when applying dynamic colors.
|
DynamicColorsOptions.Builder |
Builder class for specifying options when applying dynamic colors.
|
HarmonizedColorAttributes |
A class for specifying color attributes for harmonization, which contains an array of color
attributes, with the option to specify a custom theme overlay.
|
HarmonizedColors |
A class for harmonizing color resources and attributes.
|
HarmonizedColorsOptions |
Wrapper class for specifying harmonization options, whether to harmonize an array of color
resources, or a HarmonizedColorAttributes , along with the color attribute provided to
harmonize with.
|
HarmonizedColorsOptions.Builder |
Builder class for specifying options when harmonizing colors.
|
MaterialColors |
A utility class for common color variants used in Material themes.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-10-09 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-10-09 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-09 UTC."]]