|
23 | 23 | <attr name="keyBackground" format="reference"/> |
24 | 24 |
|
25 | 25 | <!-- Size of the text for character keys. --> |
26 | | - <attr name="keyTextSize" format="dimension"/> |
| 26 | + <attr name="keyTextSize" format="reference|dimension"/> |
27 | 27 |
|
28 | 28 | <!-- Size of the text for custom keys with some text and no icon. --> |
29 | | - <attr name="labelTextSize" format="dimension"/> |
| 29 | + <attr name="labelTextSize" format="reference|dimension"/> |
30 | 30 |
|
31 | 31 | <!-- Color to use for the label in a key. --> |
32 | | - <attr name="keyTextColor" format="color"/> |
| 32 | + <attr name="keyTextColor" format="reference|color"/> |
33 | 33 |
|
34 | 34 | <!-- size of different keys height --> |
35 | | - <attr name="keyNormalHeight" format="dimension"/> |
36 | | - <attr name="keySmallHeight" format="dimension"/> |
37 | | - <attr name="keyLargeHeight" format="dimension"/> |
| 35 | + <attr name="keyNormalHeight" format="reference|dimension"/> |
| 36 | + <attr name="keySmallHeight" format="reference|dimension"/> |
| 37 | + <attr name="keyLargeHeight" format="reference|dimension"/> |
38 | 38 |
|
39 | | - <attr name="keyHorizontalGap" format="dimension"/> |
40 | | - <attr name="keyVerticalGap" format="dimension"/> |
| 39 | + <attr name="keyHorizontalGap" format="reference|dimension"/> |
| 40 | + <attr name="keyVerticalGap" format="reference|dimension"/> |
41 | 41 |
|
42 | 42 | <!-- Vertical offset of the key press feedback from the key. --> |
43 | | - <attr name="keyPreviewOffset" format="dimension"/> |
| 43 | + <attr name="keyPreviewOffset" format="reference|dimension"/> |
44 | 44 | <attr name="keyPreviewBackground" format="reference"/> |
45 | | - <attr name="keyPreviewTextSize" format="dimension"/> |
46 | | - <attr name="keyPreviewTextColor" format="color"/> |
47 | | - <attr name="keyPreviewLabelTextSize" format="dimension"/> |
| 45 | + <attr name="keyPreviewTextSize" format="reference|dimension"/> |
| 46 | + <attr name="keyPreviewTextColor" format="reference|color"/> |
| 47 | + <attr name="keyPreviewLabelTextSize" format="reference|dimension"/> |
48 | 48 |
|
49 | 49 | <!-- Hysteresis distance for key debouncing --> |
50 | | - <attr name="keyHysteresisDistance" format="dimension"/> |
| 50 | + <attr name="keyHysteresisDistance" format="reference|dimension"/> |
51 | 51 |
|
52 | 52 | <!-- Amount to offset the touch Y coordinate by, for bias correction. --> |
53 | | - <attr name="verticalCorrection" format="dimension"/> |
| 53 | + <attr name="verticalCorrection" format="reference|dimension"/> |
54 | 54 |
|
55 | | - <attr name="shadowColor" format="color"/> |
56 | | - <attr name="shadowRadius" format="dimension"/> |
57 | | - <attr name="shadowOffsetX" format="dimension"/> |
58 | | - <attr name="shadowOffsetY" format="dimension"/> |
| 55 | + <attr name="shadowColor" format="reference|color"/> |
| 56 | + <attr name="shadowRadius" format="reference|dimension"/> |
| 57 | + <attr name="shadowOffsetX" format="reference|dimension"/> |
| 58 | + <attr name="shadowOffsetY" format="reference|dimension"/> |
59 | 59 |
|
60 | | - <attr name="backgroundDimAmount" format="float"/> |
| 60 | + <attr name="backgroundDimAmount" format="reference|float"/> |
61 | 61 |
|
62 | 62 | <attr name="keyTextStyle"> |
63 | 63 | <flag name="normal" value="0"/> |
|
76 | 76 | <attr name="android:paddingRight"/> |
77 | 77 | <attr name="android:paddingBottom"/> |
78 | 78 |
|
79 | | - <attr name="suggestionNormalTextColor" format="color"/> |
80 | | - <attr name="suggestionRecommendedTextColor" format="color"/> |
81 | | - <attr name="suggestionOthersTextColor" format="color"/> |
82 | | - <attr name="suggestionTextSize" format="dimension"/> |
| 79 | + <attr name="suggestionNormalTextColor" format="reference|color"/> |
| 80 | + <attr name="suggestionRecommendedTextColor" format="reference|color"/> |
| 81 | + <attr name="suggestionOthersTextColor" format="reference|color"/> |
| 82 | + <attr name="suggestionTextSize" format="reference|dimension"/> |
83 | 83 | <attr name="suggestionBackgroundImage" format="reference"/> |
84 | 84 | <attr name="suggestionDividerImage" format="reference"/> |
85 | 85 | <attr name="suggestionCloseImage" format="reference"/> |
86 | | - <attr name="suggestionStripHeight" format="dimension"/> |
| 86 | + <attr name="suggestionStripHeight" format="reference|dimension"/> |
87 | 87 |
|
88 | 88 | <!-- Size of the text for hinting about long press output. --> |
89 | | - <attr name="hintTextSize" format="dimension"/> |
| 89 | + <attr name="hintTextSize" format="reference|dimension"/> |
90 | 90 |
|
91 | 91 | <!-- Color to use for hint text. --> |
92 | | - <attr name="hintTextColor" format="color"/> |
| 92 | + <attr name="hintTextColor" format="reference|color"/> |
93 | 93 |
|
94 | 94 | <!-- Size of the text for the prefered word. --> |
95 | | - <attr name="suggestionPreferedWordTextSize" format="dimension"/> |
| 95 | + <attr name="suggestionPreferedWordTextSize" format="reference|dimension"/> |
96 | 96 | <!-- vertical padding. --> |
97 | | - <attr name="suggestionWordXGap" format="dimension"/> |
| 97 | + <attr name="suggestionWordXGap" format="reference|dimension"/> |
98 | 98 |
|
99 | 99 | <!-- location of hint labels --> |
100 | 100 | <attr name="hintLabelAlign"> |
|
112 | 112 | <!-- hint label to use when hintLabel unspecified and more than 3 characters in --> |
113 | 113 | <!-- popupCharacters or when longPressCode instead of popupCharacters --> |
114 | 114 | <!-- (if none specified, app default used) --> |
115 | | - <attr name="hintOverflowLabel" format="string"/> |
| 115 | + <attr name="hintOverflowLabel" format="reference|string"/> |
116 | 116 |
|
117 | 117 | <!-- FOR FUTURE EXPANSION - NOT YET SUPPORTED --> |
118 | 118 |
|
|
122 | 122 | <attr name="hintOverflowIcon" format="reference"/> |
123 | 123 | <!-- allow the key to have another hint to show that there are more characters in --> |
124 | 124 | <!-- popupCharacters than shown by the hint label (if not specified, none used) --> |
125 | | - <attr name="extraHintLabel" format="string"/> |
| 125 | + <attr name="extraHintLabel" format="reference|string"/> |
126 | 126 | <attr name="extraHintIcon" format="reference"/> |
127 | 127 | <attr name="extraHintLabelAlign"> |
128 | 128 | <flag name="left" value="3"/> |
|
162 | 162 | <!-- keyboard wallpaper - this is the image BEHIND the keyboard, it is visible when switching layout with animation --> |
163 | 163 | <attr name="keyboardWallpaper" format="reference"/> |
164 | 164 |
|
165 | | - <attr name="keyboardNameTextSize" format="dimension"/> |
166 | | - <attr name="keyboardNameTextColor" format="color"/> |
| 165 | + <attr name="keyboardNameTextSize" format="reference|dimension"/> |
| 166 | + <attr name="keyboardNameTextColor" format="reference|color"/> |
167 | 167 |
|
168 | | - <attr name="previewGestureTextSize" format="dimension"/> |
169 | | - <attr name="previewGestureTextColor" format="color"/> |
| 168 | + <attr name="previewGestureTextSize" format="reference|dimension"/> |
| 169 | + <attr name="previewGestureTextColor" format="reference|color"/> |
170 | 170 | <!-- show hint and/or extra hint on preview --> |
171 | | - <attr name="showHintOnPreview" format="boolean"/> |
172 | | - <attr name="showExtraHintOnPreview" format="boolean"/> |
| 171 | + <attr name="showHintOnPreview" format="reference|boolean"/> |
| 172 | + <attr name="showExtraHintOnPreview" format="reference|boolean"/> |
173 | 173 | <attr name="previewAnimationType"> |
174 | 174 | <flag name="none" value="0"/> |
175 | 175 | <!--default value--> |
|
0 commit comments