Skip to content

Commit 6fd8e27

Browse files
committed
Reduce switch keys baseline correction (aesthetics)
1 parent 1b3683c commit 6fd8e27

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Fixed key press colour change dependent on activity background
99
- Implemented abort on move outside keyboard (by adding 1 px gutter)
1010
- Update keyboard font to [Stroke Input Keyboard v1.2.1]
11+
- Improved "switch to symbols" label aesthetics
1112
- Reduced space bar height
1213
- Reduced digit row key height
1314
- Added fillColour attribute for the keyboard as a whole

app/src/main/res/values/dimens.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
<dimen name="key_text_font_size_enter_key">36dp</dimen>
1818
<dimen name="key_text_baseline_correction">2dp</dimen>
1919
<dimen name="key_text_baseline_correction_digits">0.75dp</dimen>
20+
<dimen name="key_text_baseline_correction_switch_key">0.5dp</dimen>
2021
<dimen name="key_text_baseline_correction_space_bar">0.5dp</dimen>
2122
</resources>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
app:valueText="SWITCH_TO_SYMBOLS"
111111
app:displayText="():"
112112
app:keyTextSize="@dimen/key_text_font_size_switch_key"
113+
app:keyTextOffsetY="@dimen/key_text_baseline_correction_switch_key"
113114
/>
114115
<!-- U+FF0C FULLWIDTH COMMA -->
115116
<Key

app/src/main/res/xml/keyboard_symbols.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
app:displayText="㇐㇑㇒"
7979
app:keyTextColour="@color/stroke_key_text"
8080
app:keyTextSize="@dimen/key_text_font_size_switch_key"
81+
app:keyTextOffsetY="@dimen/key_text_baseline_correction_switch_key"
8182
/>
8283
<!-- U+FF0C FULLWIDTH COMMA -->
8384
<Key

0 commit comments

Comments
 (0)