Skip to content

Commit ec2f628

Browse files
committed
Merge branch 'keyboard-development'
'Basic' keyboard behaviour (i.e. everything except stroke input) has now been implemented.
2 parents 01b1a90 + de3a1bd commit ec2f628

13 files changed

Lines changed: 1220 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Changelog
2+
3+
4+
## [Unreleased]
5+
6+
- Implemented backspace, space bar, enter key behaviour
7+
- Implemented extended press behaviour (long presses and key repeats)
8+
- Implemented currently pressed key behaviour and appearance
9+
- Removed key attribute `displayIcon`
10+
11+
12+
## [v0.2.0] Default key behaviour (2021-07-06)
13+
14+
- Implemented default key behaviour (commit `valueText`)
15+
- Updated keyboard font to [Stroke Input Keyboard v1.2.0]
16+
- Cleaned up Java variables
17+
- Reduced key heights
18+
- Reduced key text font sizes
19+
- Styled stroke key text yellow
20+
- Cleaned up `README.md`
21+
22+
23+
## [v0.1.1] New keyboard font (2021-06-29)
24+
25+
- Updated `README.md` links given GitHub organisation move
26+
- Changed keyboard font to [Stroke Input Keyboard v1.1.0]
27+
- Made key text offsets inherit from Row from Keyboard
28+
29+
30+
## [v0.1.0] Implemented drawing (2021-06-27)
31+
32+
This milestone marks the successful re-implmentation
33+
of the drawing part of AOSP's `Keyboard.java` and `KeyboardView.java`.
34+
Note that the keyboard is literally a bunch of drawn rectangles;
35+
the actual functionality has not been implemented yet.
36+
37+
38+
[Unreleased]:
39+
https://github.com/stroke-input/stroke-input-android/compare/v0.2.0...HEAD
40+
[v0.2.0]:
41+
https://github.com/stroke-input/stroke-input-android/compare/v0.1.1...v0.2.0
42+
[v0.1.1]:
43+
https://github.com/stroke-input/stroke-input-android/compare/v0.1.0...v0.1.1
44+
[v0.1.0]:
45+
https://github.com/stroke-input/stroke-input-android/releases/tag/v0.1.0
46+
47+
[Stroke Input Keyboard v1.1.0]:
48+
https://github.com/stroke-input/stroke-input-font/releases/tag/v1.1.0
49+
[Stroke Input Keyboard v1.2.0]:
50+
https://github.com/stroke-input/stroke-input-font/releases/tag/v1.2.0

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@ Eventually the plan is to utilise the "yawnoc" stroke data set
88
that I am currently compiling in [stroke-input-data].
99

1010

11-
## Useful resources
11+
## License
1212

13-
- [Suragch on "How can you make a custom keyboard in Android?"]
14-
(but this uses the now deprecated `Keyboard` and `KeyboardView` classes)
13+
This repository is licensed under GPL-3.0-only, see [LICENSE].
1514

16-
- [suragch/TodoKeyboard]
17-
18-
- [suragch/mongol-library]
15+
The font used on the keyboard is modified
16+
from an Apache 2.0 version of Noto Sans CJK TC,
17+
see [stroke-input-font].
1918

2019

20+
[LICENSE]: LICENSE
2121
[stroke-input-data]: https://github.com/stroke-input/stroke-input-data
22-
[Suragch on "How can you make a custom keyboard in Android?"]:
23-
https://stackoverflow.com/a/44939816
24-
[suragch/TodoKeyboard]: https://github.com/suragch/TodoKeyboard
25-
[suragch/mongol-library]: https://github.com/suragch/mongol-library
22+
[stroke-input-font]: https://github.com/stroke-input/stroke-input-font

app/build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ android {
88

99
defaultConfig {
1010
applicationId "io.github.yawnoc.strokeinput"
11-
minSdkVersion 16
11+
minSdkVersion 24
1212
targetSdkVersion 30
13-
versionCode 2
14-
versionName "0.0.0"
15-
16-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
13+
versionCode 4
14+
versionName "0.2.0"
1715
}
1816

1917
buildTypes {
@@ -31,6 +29,6 @@ android {
3129

3230
dependencies {
3331
implementation 'androidx.appcompat:appcompat:1.3.0'
34-
implementation 'com.google.android.material:material:1.3.0'
32+
implementation 'com.google.android.material:material:1.4.0'
3533
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
3634
}

0 commit comments

Comments
 (0)