Skip to content

Commit a860782

Browse files
Material Design Teampaulfthomas
authored andcommitted
[Getting Started]Added Material3Expressive theme content
PiperOrigin-RevId: 766046104
1 parent 95e7b45 commit a860782

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

docs/getting-started.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ section: docs
55
path: /docs/getting-started/
66
-->
77

8-
# Getting started with Material Components for Android
8+
# Getting started with Material components for Android
99

1010
## 1. Migration guidance
1111

@@ -90,9 +90,9 @@ for more information on Java 8 support and how to enable it for your app.
9090
9191
## 5. Gradle, AGP, and Android Studio
9292
93-
When using MDC-Android version `1.13.0` and above, you will need to
94-
make sure your project is built with the following minimum requirements, in
95-
order to support the latest build features such as XML `macro`:
93+
When using MDC-Android version `1.13.0` and above, you will need to make sure
94+
your project is built with the following minimum requirements, in order to
95+
support the latest build features such as XML `macro`:
9696
9797
- [Gradle version 8.9](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle)
9898
- [Android Gradle Plugin (AGP) version 8.7.3](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle)
@@ -125,6 +125,31 @@ to your theme. See the
125125
[**AppCompat or MaterialComponents themes**](#appcompat-or-materialcomponents-themes)
126126
section for more details.
127127
128+
### **`Material3Expressive` themes**
129+
130+
**Note:** You must depend on library version `1.14.0-alpha01` or later to use
131+
`Theme.Material3Expressive.*` themes, which are required for
132+
`Widget.Material3Expressive.*` component styles.
133+
134+
Here are the `Material3Expressive` themes you can use to get the latest
135+
component styles and theme-level attributes, as well as their `Material3`
136+
equivalents when applicable.
137+
138+
`Material3Expressive` | `Material3`
139+
-------------------------------------------------------------- | -----------
140+
`Theme.Material3Expressive.Light` | `Theme.Material3.Light`
141+
`Theme.Material3Expressive.Light.NoActionBar` | `Theme.Material3.Light.NoActionBar`
142+
`Theme.Material3Expressive.Dark` | `Theme.Material3.Dark`
143+
`Theme.Material3Expressive.Dark.NoActionBar` | `Theme.Material3.Dark.NoActionBar`
144+
`Theme.Material3Expressive.DayNight` | `Theme.Material3.DayNight`
145+
`Theme.Material3Expressive.DayNight.NoActionBar` | `Theme.Material3.DayNight.NoActionBar`
146+
`Theme.Material3Expressive.DynamicColors.Light` | `Theme.Material3.DynamicColors.Light`
147+
`Theme.Material3Expressive.DynamicColors.Light.NoActionBar` | `Theme.Material3.DynamicColors.Light.NoActionBar`
148+
`Theme.Material3Expressive.DynamicColors.Dark` | `Theme.Material3.DynamicColors.Dark`
149+
`Theme.Material3Expressive.DynamicColors.Dark.NoActionBar` | `Theme.Material3.DynamicColors.Dark.NoActionBar`
150+
`Theme.Material3Expressive.DynamicColors.DayNight` | `Theme.Material3.DynamicColors.DayNight`
151+
`Theme.Material3Expressive.DynamicColors.DayNight.NoActionBar` | `Theme.Material3.DynamicColors.DayNight.NoActionBar`
152+
128153
### **`Material3` themes**
129154
130155
Here are the `Material3` themes you can use to get the latest component styles

0 commit comments

Comments
 (0)