Skip to content

Commit 611006a

Browse files
committed
Make special keys not previewable
1 parent 21019c9 commit 611006a

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

app/src/main/res/xml/keyboard_qwerty.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
app:keyDisplayText=""
6868
app:keyValueTextShifted=""
6969
app:keyWidth="@dimen/key_width__qwerty_shift"
70+
app:keyIsPreviewable="false"
7071
/>
7172
<!-- Letters row 3 -->
7273
<Key app:keyValueText="z" />
@@ -85,6 +86,7 @@
8586
app:keyTextSize="@dimen/font_size__qwerty_backspace"
8687
app:keyTextOffsetY="@dimen/baseline_correction__qwerty_backspace"
8788
app:keyWidth="@dimen/key_width__qwerty_shift"
89+
app:keyIsPreviewable="false"
8890
/>
8991
</Row>
9092
<Row
@@ -96,6 +98,7 @@
9698
app:keyDisplayText="!@#"
9799
app:keyTextSize="@dimen/font_size__switch_key"
98100
app:keyTextOffsetY="@dimen/baseline_correction__switch_key"
101+
app:keyIsPreviewable="false"
99102
/>
100103
<!-- Comma -->
101104
<Key
@@ -112,6 +115,7 @@
112115
app:keyTextOffsetY="@dimen/baseline_correction__space_bar"
113116
app:keyTextColour="@color/space_bar_text"
114117
app:keyWidth="@dimen/key_width__space_bar"
118+
app:keyIsPreviewable="false"
115119
/>
116120
<!-- Full stop -->
117121
<Key
@@ -124,6 +128,7 @@
124128
app:keyDisplayText=""
125129
app:keyTextSize="@dimen/font_size__enter_key"
126130
app:keyFillColour="@color/enter_key_fill"
131+
app:keyIsPreviewable="false"
127132
/>
128133
</Row>
129134
</Keyboard>

app/src/main/res/xml/keyboard_qwerty_symbols.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
app:keyTextSize="@dimen/font_size__qwerty_backspace"
6767
app:keyTextOffsetY="@dimen/baseline_correction__qwerty_backspace"
6868
app:keyWidth="@dimen/key_width__qwerty_shift"
69+
app:keyIsPreviewable="false"
6970
/>
7071
</Row>
7172
<Row
@@ -77,6 +78,7 @@
7778
app:keyDisplayText="ABC"
7879
app:keyTextSize="@dimen/font_size__switch_key"
7980
app:keyTextOffsetY="@dimen/baseline_correction__switch_key"
81+
app:keyIsPreviewable="false"
8082
/>
8183
<!-- Comma -->
8284
<Key
@@ -93,6 +95,7 @@
9395
app:keyTextOffsetY="@dimen/baseline_correction__space_bar"
9496
app:keyTextColour="@color/space_bar_text"
9597
app:keyWidth="@dimen/key_width__space_bar"
98+
app:keyIsPreviewable="false"
9699
/>
97100
<!-- Full stop -->
98101
<Key
@@ -105,6 +108,7 @@
105108
app:keyDisplayText=""
106109
app:keyTextSize="@dimen/font_size__enter_key"
107110
app:keyFillColour="@color/enter_key_fill"
111+
app:keyIsPreviewable="false"
108112
/>
109113
</Row>
110114
</Keyboard>

app/src/main/res/xml/keyboard_strokes.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
app:keyValueText="ABOUT"
6262
app:keyDisplayText="🛈"
6363
app:keyIsLongPressable="true"
64+
app:keyIsPreviewable="false"
6465
/>
6566
</Row>
6667
<Row app:keyWidth="@dimen/key_width__strokes_stroke">
@@ -100,6 +101,7 @@
100101
app:keyDisplayText=""
101102
app:keyIsRepeatable="true"
102103
app:keyTextSize="@dimen/font_size__strokes_backspace"
104+
app:keyIsPreviewable="false"
103105
/>
104106
</Row>
105107
<Row
@@ -112,6 +114,7 @@
112114
app:keyDisplayText="():"
113115
app:keyTextSize="@dimen/font_size__switch_key"
114116
app:keyTextOffsetY="@dimen/baseline_correction__switch_key"
117+
app:keyIsPreviewable="false"
115118
/>
116119
<!-- U+FF0C FULLWIDTH COMMA -->
117120
<Key
@@ -128,6 +131,7 @@
128131
app:keyTextOffsetY="@dimen/baseline_correction__space_bar"
129132
app:keyTextColour="@color/space_bar_text"
130133
app:keyWidth="@dimen/key_width__space_bar"
134+
app:keyIsPreviewable="false"
131135
/>
132136
<!-- U+3002 IDEOGRAPHIC FULL STOP -->
133137
<Key
@@ -140,6 +144,7 @@
140144
app:keyDisplayText=""
141145
app:keyTextSize="@dimen/font_size__enter_key"
142146
app:keyFillColour="@color/enter_key_fill"
147+
app:keyIsPreviewable="false"
143148
/>
144149
</Row>
145150
</Keyboard>

app/src/main/res/xml/keyboard_strokes_symbols.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
app:keyDisplayText=""
6767
app:keyIsRepeatable="true"
6868
app:keyTextSize="@dimen/font_size__strokes_backspace"
69+
app:keyIsPreviewable="false"
6970
/>
7071
</Row>
7172
<Row
@@ -79,6 +80,7 @@
7980
app:keyTextColour="@color/stroke_key_text"
8081
app:keyTextSize="@dimen/font_size__switch_key"
8182
app:keyTextOffsetY="@dimen/baseline_correction__switch_key"
83+
app:keyIsPreviewable="false"
8284
/>
8385
<!-- U+FF0C FULLWIDTH COMMA -->
8486
<Key
@@ -95,6 +97,7 @@
9597
app:keyTextOffsetY="@dimen/baseline_correction__space_bar"
9698
app:keyTextColour="@color/space_bar_text"
9799
app:keyWidth="@dimen/key_width__space_bar"
100+
app:keyIsPreviewable="false"
98101
/>
99102
<!-- U+3002 IDEOGRAPHIC FULL STOP -->
100103
<Key
@@ -107,6 +110,7 @@
107110
app:keyDisplayText=""
108111
app:keyTextSize="@dimen/font_size__enter_key"
109112
app:keyFillColour="@color/enter_key_fill"
113+
app:keyIsPreviewable="false"
110114
/>
111115
</Row>
112116
</Keyboard>

0 commit comments

Comments
 (0)