File: attrs.xml

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (129 lines) | stat: -rw-r--r-- 5,507 bytes parent folder | download | duplicates (5)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?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="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="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="endIconWidth" format="reference|dimension"/>
        <attr name="endIconHeight" 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>

</resources>