|
15 | 15 | ~ limitations under the License.
|
16 | 16 | -->
|
17 | 17 | <resources>
|
18 |
| - <!-- Themes for MaterialComponents Dialogs. --> |
| 18 | + <!-- Themes for M3 Expressive Dialogs. --> |
19 | 19 |
|
20 | 20 | <!--
|
21 |
| - Themes in the "Theme.MaterialComponents" family will contain a default full color scheme. |
| 21 | + Themes in the "Theme.Material3Expressive" family will contain a default full color scheme. |
22 | 22 |
|
23 | 23 | These theme declarations contain any version-independent specification. Items
|
24 | 24 | that need to vary based on platform version should be defined in the corresponding
|
25 | 25 | "Base.Theme" theme.
|
26 | 26 | -->
|
27 | 27 |
|
28 |
| - <style name="Theme.MaterialComponents.Dialog" parent="Base.Theme.MaterialComponents.Dialog"/> |
29 |
| - |
30 |
| - <style name="Theme.MaterialComponents.Light.Dialog" parent="Base.Theme.MaterialComponents.Light.Dialog"/> |
| 28 | + <style name="Theme.Material3Expressive.Light.Dialog" parent="Base.Theme.Material3Expressive.Light.Dialog"/> |
| 29 | + <style name="Theme.Material3Expressive.Dark.Dialog" parent="Base.Theme.Material3Expressive.Dark.Dialog"/> |
31 | 30 |
|
32 | 31 | <!--
|
33 |
| - Material theme for alert dialog windows, which is used by the AlertDialog class. |
| 32 | + Material 3 Expressive theme for alert dialog windows, which is used by the AlertDialog class. |
34 | 33 | This is basically a dialog but sets the background to empty so it can do
|
35 | 34 | two-tone backgrounds. For applications targeting Honeycomb or newer, this is the default
|
36 | 35 | AlertDialog theme.
|
37 | 36 | -->
|
38 |
| - <style name="Theme.MaterialComponents.Dialog.Alert" parent="Base.Theme.MaterialComponents.Dialog.Alert"/> |
| 37 | + <style name="Theme.Material3Expressive.Light.Dialog.Alert" parent="Base.Theme.Material3Expressive.Light.Dialog"> |
| 38 | + <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> |
| 39 | + <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> |
| 40 | + </style> |
39 | 41 |
|
40 |
| - <style name="Theme.MaterialComponents.Light.Dialog.Alert" parent="Base.Theme.MaterialComponents.Light.Dialog.Alert"/> |
| 42 | + <style name="Theme.Material3Expressive.Dark.Dialog.Alert" parent="Base.Theme.Material3Expressive.Dark.Dialog"> |
| 43 | + <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> |
| 44 | + <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> |
| 45 | + </style> |
41 | 46 |
|
42 | 47 | <!--
|
43 |
| - Variant of Theme.MaterialComponents.Dialog that has a nice minimum width for a regular dialog. |
| 48 | + Variant of Theme.Material3Expressive.Dialog that has a nice minimum width for a regular dialog. |
44 | 49 | -->
|
45 |
| - <style name="Theme.MaterialComponents.Dialog.MinWidth" parent="Base.Theme.MaterialComponents.Dialog.MinWidth"/> |
46 |
| - |
47 |
| - <style name="Theme.MaterialComponents.Light.Dialog.MinWidth" parent="Base.Theme.MaterialComponents.Light.Dialog.MinWidth"/> |
| 50 | + <style name="Theme.Material3Expressive.Light.Dialog.MinWidth" parent="Base.Theme.Material3Expressive.Light.Dialog"> |
| 51 | + <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> |
| 52 | + <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> |
| 53 | + </style> |
48 | 54 |
|
49 |
| - <!-- |
50 |
| - Variant of Theme.MaterialComponents.Dialog that has a fixed size for a regular dialog. |
51 |
| - --> |
52 |
| - <style name="Theme.MaterialComponents.Dialog.FixedSize" parent="Base.Theme.MaterialComponents.Dialog.FixedSize"/> |
| 55 | + <style name="Theme.Material3Expressive.Dark.Dialog.MinWidth" parent="Base.Theme.Material3Expressive.Dark.Dialog"> |
| 56 | + <item name="windowMinWidthMajor">@dimen/abc_dialog_min_width_major</item> |
| 57 | + <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item> |
| 58 | + </style> |
53 | 59 |
|
54 |
| - <style name="Theme.MaterialComponents.Light.Dialog.FixedSize" parent="Base.Theme.MaterialComponents.Light.Dialog.FixedSize"/> |
55 | 60 |
|
56 | 61 | <!-- Themes for M3 Dialogs. -->
|
57 | 62 |
|
|
67 | 72 | <style name="Theme.Material3.Dark.Dialog" parent="Base.Theme.Material3.Dark.Dialog"/>
|
68 | 73 |
|
69 | 74 | <!--
|
70 |
| - Material theme for alert dialog windows, which is used by the AlertDialog class. |
| 75 | + Material 3 theme for alert dialog windows, which is used by the AlertDialog class. |
71 | 76 | This is basically a dialog but sets the background to empty so it can do
|
72 | 77 | two-tone backgrounds. For applications targeting Honeycomb or newer, this is the default
|
73 | 78 | AlertDialog theme.
|
|
95 | 100 | <item name="windowMinWidthMinor">@dimen/abc_dialog_min_width_minor</item>
|
96 | 101 | </style>
|
97 | 102 |
|
| 103 | + <!-- Themes for MaterialComponents Dialogs. --> |
| 104 | + |
| 105 | + <!-- |
| 106 | + Themes in the "Theme.MaterialComponents" family will contain a default full color scheme. |
| 107 | +
|
| 108 | + These theme declarations contain any version-independent specification. Items |
| 109 | + that need to vary based on platform version should be defined in the corresponding |
| 110 | + "Base.Theme" theme. |
| 111 | + --> |
| 112 | + |
| 113 | + <style name="Theme.MaterialComponents.Dialog" parent="Base.Theme.MaterialComponents.Dialog"/> |
| 114 | + |
| 115 | + <style name="Theme.MaterialComponents.Light.Dialog" parent="Base.Theme.MaterialComponents.Light.Dialog"/> |
| 116 | + |
| 117 | + <!-- |
| 118 | + Material theme for alert dialog windows, which is used by the AlertDialog class. |
| 119 | + This is basically a dialog but sets the background to empty so it can do |
| 120 | + two-tone backgrounds. For applications targeting Honeycomb or newer, this is the default |
| 121 | + AlertDialog theme. |
| 122 | + --> |
| 123 | + <style name="Theme.MaterialComponents.Dialog.Alert" parent="Base.Theme.MaterialComponents.Dialog.Alert"/> |
| 124 | + |
| 125 | + <style name="Theme.MaterialComponents.Light.Dialog.Alert" parent="Base.Theme.MaterialComponents.Light.Dialog.Alert"/> |
| 126 | + |
| 127 | + <!-- |
| 128 | + Variant of Theme.MaterialComponents.Dialog that has a nice minimum width for a regular dialog. |
| 129 | + --> |
| 130 | + <style name="Theme.MaterialComponents.Dialog.MinWidth" parent="Base.Theme.MaterialComponents.Dialog.MinWidth"/> |
| 131 | + |
| 132 | + <style name="Theme.MaterialComponents.Light.Dialog.MinWidth" parent="Base.Theme.MaterialComponents.Light.Dialog.MinWidth"/> |
| 133 | + |
| 134 | + <!-- |
| 135 | + Variant of Theme.MaterialComponents.Dialog that has a fixed size for a regular dialog. |
| 136 | + --> |
| 137 | + <style name="Theme.MaterialComponents.Dialog.FixedSize" parent="Base.Theme.MaterialComponents.Dialog.FixedSize"/> |
| 138 | + |
| 139 | + <style name="Theme.MaterialComponents.Light.Dialog.FixedSize" parent="Base.Theme.MaterialComponents.Light.Dialog.FixedSize"/> |
| 140 | + |
98 | 141 | </resources>
|
0 commit comments