mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
[LoadingIndicator] Integrated tokens.
PiperOrigin-RevId: 668232801
This commit is contained in:
parent
b65df32b0f
commit
6cc5750cd3
@ -17,15 +17,15 @@
|
||||
<resources>
|
||||
<style name="Widget.Material3.LoadingIndicator" parent="android:Widget">
|
||||
<item name="indicatorSize">34dp</item>
|
||||
<item name="containerWidth">48dp</item>
|
||||
<item name="containerHeight">48dp</item>
|
||||
<item name="indicatorColor">?attr/colorPrimary</item>
|
||||
<item name="containerWidth">@dimen/m3_comp_loading_indicator_container_width</item>
|
||||
<item name="containerHeight">@dimen/m3_comp_loading_indicator_container_height</item>
|
||||
<item name="indicatorColor">@macro/m3_comp_loading_indicator_active_indicator_color</item>
|
||||
<item name="containerColor">@android:color/transparent</item>
|
||||
<item name="android:contentDescription">@string/m3_loading_indicator_content_description</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Material3.LoadingIndicator.Contained">
|
||||
<item name="indicatorColor">?attr/colorOnPrimaryContainer</item>
|
||||
<item name="containerColor">?attr/colorPrimaryContainer</item>
|
||||
<item name="indicatorColor">@macro/m3_comp_loading_indicator_contained_active_indicator_color</item>
|
||||
<item name="containerColor">@macro/m3_comp_loading_indicator_contained_container_color</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2024 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: 7.0.0 -->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Generated from token set (md.comp.loading-indicator) in context (platform=android, audience=3p). -->
|
||||
<!-- Group: Color -->
|
||||
<macro name="m3_comp_loading_indicator_active_indicator_color">?attr/colorPrimary</macro>
|
||||
<macro name="m3_comp_loading_indicator_contained_container_color">?attr/colorPrimaryContainer</macro>
|
||||
<macro name="m3_comp_loading_indicator_contained_active_indicator_color">?attr/colorOnPrimaryContainer</macro>
|
||||
<!-- Group: Size -->
|
||||
<dimen name="m3_comp_loading_indicator_container_height">48dp</dimen>
|
||||
<dimen name="m3_comp_loading_indicator_container_width">48dp</dimen>
|
||||
|
||||
</resources>
|
||||
Loading…
x
Reference in New Issue
Block a user