aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/values/attrs.xml
blob: 6aa3afb9f5be89605356081568375aa28ead6575 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <attr name="longClickHint" format="string" />

    <!-- SummaryEditTextPreference attributes -->
    <declare-styleable name="SummaryEditTextPreference">
        <attr name="summaryLines" format="integer" />
        <attr name="maxSummaryLines" format="integer" />
        <attr name="longClickHint" />
    </declare-styleable>

    <!-- DetailListPreference attributes -->
    <declare-styleable name="DetailListPreference">
        <attr name="dialogTitle" format="string" />
        <attr name="dialogHelpUrl" format="string" />
        <attr name="entryDetails" format="string" />
        <attr name="longClickHint" />
    </declare-styleable>

    <declare-styleable name="WPStartOverPreference">
        <attr name="preficon" format="reference" />
        <attr name="buttonText" format="string" />
        <attr name="buttonTextColor" format="reference|color" />
        <attr name="buttonTextAllCaps" format="boolean" />
    </declare-styleable>

    <declare-styleable name="FlowLayout">
        <attr name="horizontalSpacing" format="dimension" />
        <attr name="verticalSpacing" format="dimension" />
    </declare-styleable>
    <declare-styleable name="FlowLayout_LayoutParams">
        <attr name="layout_horizontalSpacing" format="dimension" />
        <attr name="layout_verticalSpacing" format="dimension" />
    </declare-styleable>

    <!--
        WPTextView attributes
    -->
    <declare-styleable name="WPTextView">
        <attr name="wpFontFamily" format="enum">
            <enum name="defaultNormal" value="0" />
            <enum name="defaultLight" value="1" />
            <enum name="merriweather" value="2" />
        </attr>
        <attr name="fixWidowWords" format="boolean"/>
    </declare-styleable>

    <!--
        WPLinearLayoutSizeBound attributes
    -->
    <declare-styleable name="WPLinearLayoutSizeBound">
        <attr name="maxWidth" format="dimension" />
        <attr name="maxHeight" format="dimension" />
    </declare-styleable>

    <!--
        ReaderIconCountView attributes
    -->
    <declare-styleable name="ReaderIconCountView">
        <attr name="readerIcon" format="enum">
            <enum name="like" value="0" />
            <enum name="comment" value="1" />
        </attr>
    </declare-styleable>

    <!--
        PostListButton attributes
    -->
    <declare-styleable name="wpPostListButton">
        <attr name="wpPostButtonType" format="enum">
            <enum name="none" value="0" />
            <enum name="edit" value="1" />
            <enum name="view" value="2" />
            <enum name="preview" value="3" />
            <enum name="stats" value="4" />
            <enum name="trash" value="5" />
            <enum name="delete" value="6" />
            <enum name="publish" value="7" />
            <enum name="more" value="8" />
            <enum name="back" value="9" />
        </attr>
    </declare-styleable>

    <declare-styleable name="wpBoundedWidth">
        <attr name="bounded_width" format="dimension" />
    </declare-styleable>

</resources>