/
attrs.xml
177 lines (157 loc) · 9.6 KB
/
attrs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
primary. -->
<attr name="colorOnPrimary" format="color"/>
<!-- The inverse color of colorPrimary. -->
<attr name="colorPrimaryInverse" format="color"/>
<!-- A tonal variation of the primary color suitable for background color of container views. -->
<attr name="colorPrimaryContainer" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
the primary container color. -->
<attr name="colorOnPrimaryContainer" format="color"/>
<!-- A primary branding color for the app, which stays the same between light and dark themes. -->
<attr name="colorPrimaryFixed" format="color"/>
<!-- A stronger, more emphasized variant of the fixed primary branding color. -->
<attr name="colorPrimaryFixedDim" format="color"/>
<!-- The color text/iconography when drawn on top of the fixed primary branding color. -->
<attr name="colorOnPrimaryFixed" format="color"/>
<!-- A lower-emphasized variant of the color on the fixed primary branding color. -->
<attr name="colorOnPrimaryFixedVariant" format="color"/>
<!-- The secondary branding color for the app, usually a bright complement to the primary
branding color. -->
<attr name="colorSecondary" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
secondary. -->
<attr name="colorOnSecondary" format="color"/>
<!-- A tonal variation of the secondary color suitable for background color of container views. -->
<attr name="colorSecondaryContainer" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
the secondary container color. -->
<attr name="colorOnSecondaryContainer" format="color"/>
<!-- A secondary branding color for the app, which stays the same between light and dark themes. -->
<attr name="colorSecondaryFixed" format="color"/>
<!-- A stronger, more emphasized variant of the fixed secondary branding color. -->
<attr name="colorSecondaryFixedDim" format="color"/>
<!-- The color text/iconography when drawn on top of the fixed secondary branding color. -->
<attr name="colorOnSecondaryFixed" format="color"/>
<!-- A lower-emphasized variant of the color on the fixed secondary branding color. -->
<attr name="colorOnSecondaryFixedVariant" format="color"/>
<!-- The tertiary branding color for the app, usually a bright complement to the primary
branding color. -->
<attr name="colorTertiary" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
tertiary. -->
<attr name="colorOnTertiary" format="color"/>
<!-- A tonal variation of the tertiary color suitable for background color of container views. -->
<attr name="colorTertiaryContainer" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
the tertiary container color. -->
<attr name="colorOnTertiaryContainer" format="color"/>
<!-- A tertiary branding color for the app, which stays the same between light and dark themes. -->
<attr name="colorTertiaryFixed" format="color"/>
<!-- A stronger, more emphasized variant of the fixed tertiary branding color. -->
<attr name="colorTertiaryFixedDim" format="color"/>
<!-- The color text/iconography when drawn on top of the fixed tertiary branding color. -->
<attr name="colorOnTertiaryFixed" format="color"/>
<!-- A lower-emphasized variant of the color on the fixed tertiary branding color. -->
<attr name="colorOnTertiaryFixedVariant" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
background. -->
<attr name="colorOnBackground"/>
<!-- The color of surfaces such as cards, sheets, menus. -->
<attr name="colorSurface" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
surface. -->
<attr name="colorOnSurface" format="color"/>
<!-- A tonal variation of the surface color. -->
<attr name="colorSurfaceVariant" format="color"/>
<!-- A tonal variation of the on surface color that passes accessibility guidelines for
text/iconography when drawn on top of surface variant. -->
<attr name="colorOnSurfaceVariant" format="color"/>
<!-- The surface inverse color, useful for inverted backgrounds. -->
<attr name="colorSurfaceInverse" format="color"/>
<!-- The "on surface" inverse color, useful for inverted backgrounds. -->
<attr name="colorOnSurfaceInverse" format="color"/>
<!-- Tonal surface color roles. -->
<!-- The surface color which always stay the brightest in either dark or light theme. -->
<attr name="colorSurfaceBright" format="color"/>
<!-- The surface color which always stay the dimmest in either dark or light theme. -->
<attr name="colorSurfaceDim" format="color"/>
<!-- The container color of surface, which replaces the previous surface at elevation level 2. -->
<attr name="colorSurfaceContainer" format="color"/>
<!-- The container color of surface slightly elevated, which replaces the previous surface at elevation level 3. -->
<attr name="colorSurfaceContainerHigh" format="color"/>
<!-- The container color of surface the most elevated, which replaces the previous surface variant. -->
<attr name="colorSurfaceContainerHighest" format="color"/>
<!-- The container color of surface slightly lowered, which replaces the previous surface at elevation level 1. -->
<attr name="colorSurfaceContainerLow" format="color"/>
<!-- The container color of surface the most lowered. -->
<attr name="colorSurfaceContainerLowest" format="color"/>
<!-- A color meant to be used in element outlines. -->
<attr name="colorOutline" format="color"/>
<!-- A color meant to be used in element outlines on the surface-variant color. -->
<attr name="colorOutlineVariant" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
error. -->
<attr name="colorOnError" format="color"/>
<!-- A tonal variation of the error color suitable for background color of container views. -->
<attr name="colorErrorContainer" format="color"/>
<!-- A tonal variation of the on error color that passes accessibility guidelines for
text/iconography when drawn on top of error container. -->
<attr name="colorOnErrorContainer" format="color"/>
<!-- A color that corresponds to colorPrimary in light themes and colorSurface in dark
themes. -->
<attr name="colorPrimarySurface" format="color"/>
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
colorPrimarySurface. -->
<attr name="colorOnPrimarySurface" format="color"/>
<!-- Container colors. -->
<!-- These container colors are only meant to be used in component-level
styles and resources as a means of indirection. They enable remapping
to other attrs like primary, secondary, surface, etc. -->
<!-- Container background color. -->
<attr name="colorContainer" format="color"/>
<!-- Color to use for foreground elements on top of colorContainer. -->
<attr name="colorOnContainer" format="color"/>
<!-- Color to use for checkable foreground elements in unchecked state on top of colorContainer. -->
<attr name="colorOnContainerUnchecked" format="color"/>
<!-- The scrim background that appears below modals and expanded navigation menus.
The background can either be a color or a bitmap drawable with tileMode set to repeat. -->
<attr name="scrimBackground" format="color|reference"/>
<!-- Internal flag used to denote that a theme is a Theme.MaterialComponents theme or a
Theme.MaterialComponents.Bridge theme. -->
<attr name="isMaterialTheme" format="boolean"/>
<!-- Internal flag used to denote that a theme is a Theme.Material3 theme. -->
<attr name="isMaterial3Theme" format="boolean"/>
<!-- Internal flag used to denote that dynamic colors have been applied to Theme.Material3 theme. -->
<attr name="isMaterial3DynamicColorApplied" format="boolean"/>
<!-- When set to true, the material selection controls will tint themselves according to
Material Theme colors. When set to false, Material Theme colors will
be ignored. This value should be set to false when using custom drawables
that should not be tinted. This value is ignored if a buttonTint is set.
Set this attribute on your styles for each selection control.-->
<attr name="useMaterialThemeColors" format="boolean"/>
<!-- The default dynamic color theme overlay to use when applying dynamic colors. -->
<attr name="dynamicColorThemeOverlay" format="reference"/>
<!-- Deprecated. -->
<!-- A tonal variation of the primary color. -->
<attr name="colorPrimaryVariant" format="color"/>
<!-- A tonal variation of the secondary color. -->
<attr name="colorSecondaryVariant" format="color"/>
</resources>