|
20 | 20 | <attr name="icdStyle" format="reference"/>
|
21 | 21 |
|
22 | 22 | <declare-styleable name="IconDialog">
|
| 23 | + |
| 24 | + <!-- Maximum width for the calculator dialog. The dialog will expand to that width. --> |
23 | 25 | <attr name="icdMaxWidth" format="dimension|reference"/>
|
| 26 | + |
| 27 | + <!-- Maximum height for the calculator dialog. The dialog will expand to that height. --> |
24 | 28 | <attr name="icdMaxHeight" format="dimension|reference"/>
|
| 29 | + |
| 30 | + <!-- Size of the icons displayed in the dialog. This has an influence on the number |
| 31 | + of spans shown (the number of columns). --> |
25 | 32 | <attr name="icdIconSize" format="dimension|reference"/>
|
| 33 | + |
| 34 | + <!-- Style for the icon image views. Note that these views support `android:state_checked` |
| 35 | + state attribute in color state lists. --> |
26 | 36 | <attr name="icdIconStyle" format="reference"/>
|
| 37 | + |
| 38 | + <!-- Style for the icon foreground view. |
| 39 | + It's used to display the ripple drawable by default. --> |
27 | 40 | <attr name="icdIconForegroundStyle" format="reference"/>
|
| 41 | + |
| 42 | + <!-- Normal icon color. Note that color state lists aren't supported as a value of this |
| 43 | + attribute until API 23. On lower APIs, use attributes or hardcoded colors. --> |
28 | 44 | <attr name="icdIconColor" format="color|reference"/>
|
| 45 | + |
| 46 | + <!-- Selected icon color. --> |
29 | 47 | <attr name="icdSelectedIconColor" format="color|reference"/>
|
| 48 | + |
| 49 | + <!-- Style for a list header used to display a category name (non sticky). --> |
30 | 50 | <attr name="icdListHeaderStyle" format="reference"/>
|
| 51 | + |
| 52 | + <!-- Style for a list header used to display a category name (sticky). --> |
31 | 53 | <attr name="icdListStickyHeaderStyle" format="reference"/>
|
| 54 | + |
| 55 | + <!-- Style for the drawable used to separate the header and footer of the dialog. --> |
32 | 56 | <attr name="icdDividerDrawable" format="reference"/>
|
| 57 | + |
| 58 | + <!-- Style for the search EditText. --> |
33 | 59 | <attr name="icdSearchBarStyle" format="reference"/>
|
| 60 | + |
| 61 | + <!-- Style for the search icon at the start of the search field. --> |
34 | 62 | <attr name="icdSearchIconStyle" format="reference"/>
|
| 63 | + |
| 64 | + <!-- Style for the cancel/erase search button at the end of the search field. --> |
35 | 65 | <attr name="icdCancelSearchIconStyle" format="reference"/>
|
| 66 | + |
| 67 | + <!-- Style for the text displayed when search returned no results. --> |
36 | 68 | <attr name="icdNoResultLabelStyle" format="reference"/>
|
| 69 | + |
| 70 | + <!-- Style for the dialog title text. --> |
37 | 71 | <attr name="icdDialogTitleStyle" format="reference"/>
|
| 72 | + |
| 73 | + <!-- Style for the RecyclerView used to display icons. --> |
38 | 74 | <attr name="icdDialogListStyle" format="reference"/>
|
| 75 | + |
| 76 | + <!-- Style for the dialog buttons. --> |
39 | 77 | <attr name="icdDialogButtonStyle" format="reference"/>
|
| 78 | + |
40 | 79 | </declare-styleable>
|
41 | 80 |
|
42 | 81 | </resources>
|
0 commit comments