|
3 | 3 |
|
4 | 4 | <!-- all attributes here prefixed with decor to avoid conflicts with other apps & lib attributes -->
|
5 | 5 |
|
6 |
| - <attr name="decorTypefaceAsset" format="string" /> |
7 |
| - <attr name="decorErrorText" format="string" /> |
8 |
| - <attr name="decorErrorIcon" format="reference" /> |
| 6 | + <declare-styleable name="FontDecorator"> |
| 7 | + <attr name="decorTypefaceAsset" format="string" /> |
| 8 | + </declare-styleable> |
| 9 | + |
| 10 | + <declare-styleable name="ErrorDecorator"> |
| 11 | + <attr name="decorErrorText" format="string" /> |
| 12 | + <attr name="decorErrorIcon" format="reference" /> |
| 13 | + </declare-styleable> |
| 14 | + |
9 | 15 | <attr name="decorRound" format="reference" />
|
10 | 16 | <attr name="decorCornerRadius" format="dimension" />
|
11 |
| - <attr name="decorOnTouch" /> |
12 |
| - <attr name="decorColorFilter" format="color" /> |
| 17 | + |
| 18 | + <declare-styleable name="OnTouchDecorator"> |
| 19 | + <attr name="decorOnTouch" format="string"/> |
| 20 | + </declare-styleable> |
| 21 | + |
| 22 | + <declare-styleable name="ColorFilterDecorator"> |
| 23 | + <attr name="decorColorFilter" format="color" /> |
| 24 | + </declare-styleable> |
| 25 | + |
13 | 26 | <attr name="decorCircular" format="boolean" />
|
14 |
| - <attr name="decorOnLongClick" /> |
15 |
| - <attr name="decorLayoutManager" /> |
16 |
| - <attr name="decorLayoutManagerOrientation" /> |
17 |
| - <attr name="decorBlur" format="boolean" /> |
| 27 | + |
| 28 | + <declare-styleable name="OnLongClickDecorator"> |
| 29 | + <attr name="decorOnLongClick" format="string" /> |
| 30 | + </declare-styleable> |
| 31 | + |
| 32 | + <declare-styleable name="LayoutManagerDecorator"> |
| 33 | + <attr name="decorLayoutManager" format="string"/> |
| 34 | + <attr name="decorLayoutManagerOrientation" format="string" /> |
| 35 | + </declare-styleable> |
| 36 | + |
| 37 | + <declare-styleable name="BlurDecorator"> |
| 38 | + <attr name="decorBlur" format="boolean" /> |
| 39 | + </declare-styleable> |
| 40 | + |
18 | 41 | <attr name="decorColorDescendents" format="boolean|reference" />
|
19 |
| - <attr name="decorAnimateSearch" format="boolean|reference" /> |
| 42 | + |
| 43 | + <declare-styleable name="SearchAnimateDecorator"> |
| 44 | + <attr name="decorAnimateSearch" format="boolean|reference" /> |
| 45 | + </declare-styleable> |
| 46 | + |
20 | 47 | <attr name="decorOptimise" format="boolean" />
|
21 |
| - <attr name="decorShimmer" format="boolean" /> |
22 | 48 |
|
23 |
| - <declare-styleable name="DecorAutofit"> |
| 49 | + <declare-styleable name="ShimmerDecorator"> |
| 50 | + <attr name="decorShimmer" format="boolean" /> |
| 51 | + </declare-styleable> |
| 52 | + |
| 53 | + <declare-styleable name="AutofitDecorator"> |
24 | 54 | <attr name="decorAutofitText" format="boolean|reference" />
|
25 | 55 | <attr name="decorSizeToFit" format="float|reference" />
|
26 | 56 | <attr name="decorMinTextSize" format="reference" />
|
|
0 commit comments