Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit 96aa819

Browse files
committed
adding missing 'refernce' where missing
Change-Id: I7c294ce5d6dc59ff2ad1d03551fd8b875380bd7d
1 parent 2f59785 commit 96aa819

2 files changed

Lines changed: 43 additions & 43 deletions

File tree

api/src/main/res/values/keyboard_layout_api.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ Copyright (C) 2013 Menny Even-Danan
6666
requested keyboard mode, the key will be skipped. -->
6767
<attr name="android:keyboardMode"/>
6868

69-
<attr name="longPressCode" format="integer"/>
69+
<attr name="longPressCode" format="reference|integer"/>
7070

71-
<attr name="isFunctional" format="boolean"/>
71+
<attr name="isFunctional" format="reference|boolean"/>
7272

73-
<attr name="shiftedCodes" format="integer|string"/>
73+
<attr name="shiftedCodes" format="reference|integer|string"/>
7474

75-
<attr name="shiftedKeyLabel" format="string"/>
75+
<attr name="shiftedKeyLabel" format="reference|string"/>
7676

7777
<!-- Whether should show preview. -->
78-
<attr name="showPreview" format="boolean"/>
78+
<attr name="showPreview" format="reference|boolean"/>
7979

8080
<attr name="keyDynamicEmblem">
8181
<flag name="none" value="0"/>
@@ -86,7 +86,7 @@ Copyright (C) 2013 Menny Even-Danan
8686
<!-- The characters to display as a hint for the popup keyboard -->
8787

8888
<!-- The characters to display as a hint for the popup keyboard -->
89-
<attr name="hintLabel" format="string"/>
89+
<attr name="hintLabel" format="reference|string"/>
9090

9191
<attr name="showInLayout">
9292
<!--default value-->
@@ -96,6 +96,6 @@ Copyright (C) 2013 Menny Even-Danan
9696
</attr>
9797

9898
<!-- coma separated tags for this key. Might be used for completions -->
99-
<attr name="tags" format="string"/>
99+
<attr name="tags" format="reference|string"/>
100100
</declare-styleable>
101101
</resources>

api/src/main/res/values/keyboard_theme_api.xml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -23,41 +23,41 @@
2323
<attr name="keyBackground" format="reference"/>
2424

2525
<!-- Size of the text for character keys. -->
26-
<attr name="keyTextSize" format="dimension"/>
26+
<attr name="keyTextSize" format="reference|dimension"/>
2727

2828
<!-- 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"/>
3030

3131
<!-- Color to use for the label in a key. -->
32-
<attr name="keyTextColor" format="color"/>
32+
<attr name="keyTextColor" format="reference|color"/>
3333

3434
<!-- 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"/>
3838

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"/>
4141

4242
<!-- Vertical offset of the key press feedback from the key. -->
43-
<attr name="keyPreviewOffset" format="dimension"/>
43+
<attr name="keyPreviewOffset" format="reference|dimension"/>
4444
<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"/>
4848

4949
<!-- Hysteresis distance for key debouncing -->
50-
<attr name="keyHysteresisDistance" format="dimension"/>
50+
<attr name="keyHysteresisDistance" format="reference|dimension"/>
5151

5252
<!-- Amount to offset the touch Y coordinate by, for bias correction. -->
53-
<attr name="verticalCorrection" format="dimension"/>
53+
<attr name="verticalCorrection" format="reference|dimension"/>
5454

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"/>
5959

60-
<attr name="backgroundDimAmount" format="float"/>
60+
<attr name="backgroundDimAmount" format="reference|float"/>
6161

6262
<attr name="keyTextStyle">
6363
<flag name="normal" value="0"/>
@@ -76,25 +76,25 @@
7676
<attr name="android:paddingRight"/>
7777
<attr name="android:paddingBottom"/>
7878

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"/>
8383
<attr name="suggestionBackgroundImage" format="reference"/>
8484
<attr name="suggestionDividerImage" format="reference"/>
8585
<attr name="suggestionCloseImage" format="reference"/>
86-
<attr name="suggestionStripHeight" format="dimension"/>
86+
<attr name="suggestionStripHeight" format="reference|dimension"/>
8787

8888
<!-- Size of the text for hinting about long press output. -->
89-
<attr name="hintTextSize" format="dimension"/>
89+
<attr name="hintTextSize" format="reference|dimension"/>
9090

9191
<!-- Color to use for hint text. -->
92-
<attr name="hintTextColor" format="color"/>
92+
<attr name="hintTextColor" format="reference|color"/>
9393

9494
<!-- Size of the text for the prefered word. -->
95-
<attr name="suggestionPreferedWordTextSize" format="dimension"/>
95+
<attr name="suggestionPreferedWordTextSize" format="reference|dimension"/>
9696
<!-- vertical padding. -->
97-
<attr name="suggestionWordXGap" format="dimension"/>
97+
<attr name="suggestionWordXGap" format="reference|dimension"/>
9898

9999
<!-- location of hint labels -->
100100
<attr name="hintLabelAlign">
@@ -112,7 +112,7 @@
112112
<!-- hint label to use when hintLabel unspecified and more than 3 characters in -->
113113
<!-- popupCharacters or when longPressCode instead of popupCharacters -->
114114
<!-- (if none specified, app default used) -->
115-
<attr name="hintOverflowLabel" format="string"/>
115+
<attr name="hintOverflowLabel" format="reference|string"/>
116116

117117
<!-- FOR FUTURE EXPANSION - NOT YET SUPPORTED -->
118118

@@ -122,7 +122,7 @@
122122
<attr name="hintOverflowIcon" format="reference"/>
123123
<!-- allow the key to have another hint to show that there are more characters in -->
124124
<!-- 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"/>
126126
<attr name="extraHintIcon" format="reference"/>
127127
<attr name="extraHintLabelAlign">
128128
<flag name="left" value="3"/>
@@ -162,14 +162,14 @@
162162
<!-- keyboard wallpaper - this is the image BEHIND the keyboard, it is visible when switching layout with animation -->
163163
<attr name="keyboardWallpaper" format="reference"/>
164164

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"/>
167167

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"/>
170170
<!-- 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"/>
173173
<attr name="previewAnimationType">
174174
<flag name="none" value="0"/>
175175
<!--default value-->

0 commit comments

Comments
 (0)