| <?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"/> |
| |
| <!-- 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"/> |
| <!-- Splintered SwitchMaterial roles to roll back dynamic colors. --> |
| <attr name="colorPrimaryNonDynamic" format="color"/> |
| <attr name="colorPrimaryContainerNonDynamic" format="color"/> |
| <attr name="colorSwitchThumbNormalNonDynamic" format="color"/> |
| <attr name="colorSwitchThumbDisabledNonDynamic" format="color"/> |
| <attr name="colorSwitchTrackNormalNonDynamic" 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"/> |
| |
| <!-- Splintered semantic names that support dynamic colors. --> |
| <attr name="default_bg_color_dynamic" format="color"/> |
| <attr name="divider_line_bg_color_dynamic" format="color"/> |
| |
| <attr name="default_icon_color_inverse" format="color" /> |
| <attr name="default_icon_color_secondary" format="color" /> |
| <attr name="default_icon_color_disabled" format="color" /> |
| <attr name="default_icon_color_disabled_inverse" 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> |