| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2019 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <resources> |
| <declare-styleable name="BoundedLinearLayout"> |
| <attr name="maxWidthLandscape" format="dimension" /> |
| <attr name="maxWidthPortrait" format="dimension" /> |
| <attr name="maxHeight" format="dimension" /> |
| </declare-styleable> |
| |
| <declare-styleable name="DualControlLayout"> |
| <attr name="stackedMargin" format="reference|dimension"/> |
| <attr name="primaryButtonText" format="reference|string"/> |
| <attr name="secondaryButtonText" format="reference|string"/> |
| <attr name="buttonAlignment" format="enum"> |
| <enum name="start" value="0" /> |
| <enum name="end" value="1" /> |
| <enum name="apart" value="2" /> |
| </attr> |
| <attr name="dualControlLayoutVerticalPadding" format="dimension"/> |
| <attr name="dualControlLayoutHorizontalPadding" format="dimension"/> |
| </declare-styleable> |
| |
| <declare-styleable name="AsyncImageView"> |
| <attr name="unavailableSrc" format="reference" /> |
| <attr name="waitingSrc" format="reference" /> |
| </declare-styleable> |
| |
| <declare-styleable name="ForegroundRoundedCornerImageView"> |
| <attr name="foregroundCompat" format="reference" /> |
| </declare-styleable> |
| |
| <declare-styleable name="MaterialProgressBar"> |
| <attr name="colorBackground" format="reference|color" /> |
| <attr name="colorProgress" format="reference|color" /> |
| <attr name="colorSecondaryProgress" format="reference|color" /> |
| </declare-styleable> |
| |
| |
| <declare-styleable name="PaddedFrameLayout"> |
| <attr name="maxChildWidth" format="dimension" /> |
| <attr name="maxChildHeight" format="dimension" /> |
| </declare-styleable> |
| |
| <declare-styleable name="RadioButtonWithDescription"> |
| <attr name="primaryText" format="string" /> |
| <attr name="descriptionText" format="string" /> |
| <attr name="iconSrc" format="reference" /> |
| </declare-styleable> |
| |
| <declare-styleable name="RadioButtonWithEditText"> |
| <attr name="android:hint"/> |
| <attr name="android:inputType" /> |
| </declare-styleable> |
| |
| <declare-styleable name="RoundedCornerImageView"> |
| <attr name="cornerRadiusTopStart" format="dimension" /> |
| <attr name="cornerRadiusTopEnd" format="dimension" /> |
| <attr name="cornerRadiusBottomStart" format="dimension" /> |
| <attr name="cornerRadiusBottomEnd" format="dimension" /> |
| <attr name="roundedfillColor" format="reference|color" /> |
| </declare-styleable> |
| |
| <declare-styleable name="TextViewWithCompoundDrawables"> |
| <attr name="drawableWidth" format="dimension"/> |
| <attr name="drawableHeight" format="dimension"/> |
| <!-- drawableTint wasn't added in Android until API level 23. --> |
| <attr name="chromeDrawableTint" format="color"/> |
| </declare-styleable> |
| |
| <declare-styleable name="WrappingLayout"> |
| <attr name="horizontalSpacing" format="dimension" /> |
| <attr name="verticalSpacing" format="dimension" /> |
| </declare-styleable> |
| |
| <declare-styleable name="SurfaceColorDrawable"> |
| <!-- Used to specify the elevation level in dp. Similar to |
| android:elevation, but only affects color. Does not cause shadows |
| to be added or z-order to be adjusted. --> |
| <attr name="surfaceElevation" format="dimension"/> |
| </declare-styleable> |
| |
| <declare-styleable name="ChipView"> |
| <attr name="allowMultipleLines" format="boolean"/> |
| <attr name="textArrangement" format="enum"> |
| <enum name="horizontal" value="0"/> |
| <enum name="vertical" value="1"/> |
| </attr> |
| <attr name="solidColorChip" format="boolean"/> |
| <attr name="textAlignStart" format="boolean"/> |
| <attr name="chipColor" format="color"/> |
| <attr name="chipStartPadding" format="reference|dimension"/> |
| <attr name="chipEndPadding" format="reference|dimension"/> |
| <attr name="chipStateLayerColor" 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="primaryTextStartPadding" format="reference|dimension"/> |
| <attr name="endIconWidth" format="reference|dimension"/> |
| <attr name="endIconHeight" format="reference|dimension"/> |
| <attr name="endIconMarginStart" format="reference|dimension"/> |
| <attr name="endIconMarginEnd" format="reference|dimension"/> |
| <attr name="multiLineVerticalPadding" format="reference|dimension"/> |
| <attr name="secondaryTextAppearance" format="reference"/> |
| <attr name="rippleColor"/> |
| <attr name="verticalInset"/> |
| </declare-styleable> |
| |
| <declare-styleable name="MaterialCardViewNoShadow"> |
| <attr name="cornerRadius" format="dimension"/> |
| <attr name="cardBackgroundColor" format="color"/> |
| </declare-styleable> |
| |
| <declare-styleable name="FadingEdgeScrollView"> |
| <attr name="topEdgeVisibility" format="enum"> |
| <enum name="none" value="0" /> |
| <enum name="fading" value="1" /> |
| <enum name="hard" value="2" /> |
| </attr> |
| <attr name="bottomEdgeVisibility" format="enum"> |
| <enum name="none" value="0" /> |
| <enum name="fading" value="1" /> |
| <enum name="hard" value="2" /> |
| </attr> |
| </declare-styleable> |
| |
| <declare-styleable name="CustomStyledContainer"> |
| <!-- LINT.IfChange--> |
| <!-- The background style for the preference --> |
| <attr name="backgroundStyle" format="enum"> |
| <enum name="standard" value="0" /> |
| <enum name="card" value="1" /> |
| <enum name="none" value="2" /> |
| </attr> |
| <!-- LINT.ThenChange(//components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/containment/CustomStyledContainer.java) --> |
| <!-- The background color for the preference. --> |
| <attr name="backgroundColor" format="color|reference" /> |
| </declare-styleable> |
| |
| </resources> |