(#) androidx.compose.material:material-android
Name
: Compose Material Components
Description
: Compose Material Design Components library
License
: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Vendor
: Jetpack Compose
Identifier
: androidx.compose.material
Feedback
: https://issuetracker.google.com/issues/new?component=612128
Min
: Lint 8.0 and 8.1
Compiled
: Lint 8.7+
Artifact
: androidx.compose.material:material-android:1.8.0-alpha07
(##) Included Issues
|Issue Id |Issue Description |
|----------------------------------------------------------------------------------------|----------------------------------------------------------------------|
|[ConflictingOnColor](ConflictingOnColor.md.html) |Background colors with the same value should have the same 'on' color |
|[UnusedMaterialScaffoldPaddingParameter](UnusedMaterialScaffoldPaddingParameter.md.html)|Scaffold content should use the padding provided as a lambda parameter|
(##) Including
!!!
This is not a built-in check. To include it, add the below dependency
to your project.
```
// build.gradle.kts
implementation("androidx.compose.material:material-android:1.8.0-alpha07")
// build.gradle
implementation 'androidx.compose.material:material-android:1.8.0-alpha07'
// build.gradle.kts with version catalogs:
implementation(libs.material.android)
# libs.versions.toml
[versions]
material-android = "1.8.0-alpha07"
[libraries]
# For clarity and text wrapping purposes the following declaration is
# shown split up across lines, but in TOML it needs to be on a single
# line (see https://github.com/toml-lang/toml/issues/516) so adjust
# when pasting into libs.versions.toml:
material-android = {
module = "androidx.compose.material:material-android",
version.ref = "material-android"
}
```
1.8.0-alpha07 is the version this documentation was generated from;
there may be newer versions available.
NOTE: These lint checks are **also** made available separate from the main library.
You can also use `androidx.compose.material:material-lint:1.8.0-alpha07`.
(##) Changes
* 1.5.0: First version includes ConflictingOnColor,
UnusedMaterialScaffoldPaddingParameter.
(##) Version Compatibility
There are multiple older versions available of this library:
| Version | Date | Issues | Compatible | Compiled | Requires |
|-------------------:|----------|-------:|------------|--------------:|---------:|
| 1.8.0-alpha07|2024/12/11| 2| Yes| 8.7+|8.0 and 8.1|
| 1.8.0-alpha06|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1|
| 1.8.0-alpha05|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1|
| 1.8.0-alpha04|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1|
| 1.8.0-alpha03|2024/10/02| 2| Yes| 8.7+|8.0 and 8.1|
| 1.8.0-alpha02|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.0-alpha01|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.6|2024/12/11| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.5|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.4|2024/10/16| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.3|2024/10/02| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.2|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.1|2024/09/10| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.0|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.8|2024/06/12| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.7|2024/05/01| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.6|2024/04/17| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.5|2024/04/03| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.4|2024/03/20| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.3|2024/03/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.2|2024/02/21| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.1|2024/02/07| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.0|2024/01/24| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.4|2023/10/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.3|2023/10/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.2|2023/09/27| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.1|2023/09/06| 2| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.0|2023/08/09| 2| Yes| 8.0 and 8.1|8.0 and 8.1|