/
tokens.xml
39 lines (36 loc) · 2.16 KB
/
tokens.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
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 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.
-->
<!-- AUTOGENERATED FILE. DO NOT MODIFY. -->
<!-- Version: v0.175 -->
<resources>
<!-- Generated from token set (md.sys.state) in context (platform=android, audience=3p). -->
<!-- This alpha should be used for non-pressed, non-focused, non-hovered states.
RippleDrawable will only finish animations in this state. In API 22-27, this alpha will be
used for finishing the ripple animation and therefore needs to be non-zero. -->
<item name="m3_sys_state_dragged_state_layer_opacity" format="float" type="dimen">0.32</item>
<!-- RippleDrawable uses half the alpha for pressed for the overlay and half the alpha for pressed
for the ripple animation. Using double the desired alpha ensures that the desired alpha
is displayed when the overlay and ripple display at different times (unbounded ripples). -->
<!-- The resource value 0.24 has been overridden by the config. -->
<item name="m3_sys_state_pressed_state_layer_opacity" format="float" type="dimen">0.20</item>
<!-- RippleDrawable uses half the alpha for focused, so this is double the desired alpha. -->
<!-- The resource value 0.24 has been overridden by the config. -->
<item name="m3_sys_state_focus_state_layer_opacity" format="float" type="dimen">0.20</item>
<!-- RippleDrawable uses half the alpha for hovered, so this is double the desired alpha.
The hovered state is not supported by RippleDrawable pre-24. -->
<item name="m3_sys_state_hover_state_layer_opacity" format="float" type="dimen">0.16</item>
</resources>