blob: 29af8f974e8d93139943e7cf5a6f41ccdebed966 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<resources>
<!-- The color of the ripple effect on clickable elements. -->
<attr name="rippleColor" format="color"/>
<!-- The top or bottom inset of a drawable. -->
<attr name="verticalInset" format="reference|dimension"/>
<!-- Material roles currently only used in downstream. Define them here
so public builds do not complain the attribute is not found. Removal
tracked in https://crbug.com/1216204. -->
<attr name="colorOnPrimaryContainer" format="color"/>
<attr name="colorOnSurfaceVariant" format="color"/>
<attr name="colorOnSurfaceInverse" format="color"/>
<attr name="elevationOverlayAccentColor" format="color"/>
<attr name="colorPrimaryContainer" format="color"/>
<attr name="colorSurfaceVariant" format="color"/>
<attr name="colorOutline" format="color"/>
<!-- Used in SwitchMaterial tint lists because the color roles are different in light and dark
themes. -->
<attr name="colorSwitchTrackNormal" format="color"/>
<attr name="colorSwitchThumbDisabled" format="color"/>
<!-- Fixed colors that won't work with dynamic colors. -->
<!-- Used in SwitchMaterial thumb tint list for the disabled state. -->
<attr name="colorFixedOnSurfaceAlpha38OverSurface" format="color"/>
<declare-styleable name="ButtonCompat">
<!-- The color of the button background. -->
<attr name="buttonColor" format="color"/>
<attr name="rippleColor"/>
<!-- Whether the button is elevated. -->
<attr name="buttonRaised" format="boolean"/>
<!-- The vertical inset of the button background drawable. -->
<attr name="verticalInset"/>
<!-- The ripple corner radius of ripple effect. If not specified,
@dimen/button_compat_corner_radius is default. -->
<attr name="rippleCornerRadiusTopStart" format="reference|dimension" />
<attr name="rippleCornerRadiusTopEnd" format="reference|dimension" />
<attr name="rippleCornerRadiusBottomStart" format="reference|dimension" />
<attr name="rippleCornerRadiusBottomEnd" format="reference|dimension" />
</declare-styleable>
<declare-styleable name="ChipView">
<attr name="allowMultipleLines" format="boolean"/>
<attr name="extendLateralPadding" format="boolean"/>
<attr name="reduceEndPadding" format="boolean"/>
<attr name="solidColorChip" format="boolean"/>
<attr name="textAlignStart" format="boolean"/>
<attr name="reduceTextStartPadding" format="boolean"/>
<attr name="chipColor" format="color"/>
<attr name="chipStrokeColor" format="color"/>
<attr name="chipStyle" format="reference"/>
<attr name="cornerRadius" format="dimension"/>
<attr name="iconWidth" format="reference|dimension"/>
<attr name="iconHeight" format="reference|dimension"/>
<attr name="useRoundedIcon" format="boolean"/>
<attr name="primaryTextAppearance" format="reference"/>
<attr name="endIconWidth" format="reference|dimension"/>
<attr name="endIconHeight" format="reference|dimension"/>
<attr name="secondaryTextAppearance" format="reference"/>
<attr name="rippleColor"/>
<attr name="verticalInset"/>
</declare-styleable>
<declare-styleable name="TextViewWithLeading">
<attr name="leading" format="reference|dimension"/>
</declare-styleable>
<declare-styleable name="AsyncViewStub">
<!-- Supply an identifier for the layout resource to inflate when the AsyncViewStub
becomes visible or when forced to do so. The layout resource must be a
valid reference to a layout. -->
<attr name="layout" format="reference" />
</declare-styleable>
</resources>