Skip to content

Commit 72768af

Browse files
committed
feat(hangul): Add sequential Hangul input with custom layout support
- Replace composing text with immediate NFC syllable output - Remove FLAG_LATCH from Hangul keys to enable direct key_up - Add CandidatesView auto-hide when 'No dictionary installed' - Add number row to Korean layout with ISO punctuation placement - Add custom Korean (Dubeolsik+) and English (QWERTY Custom) layouts
1 parent df6010e commit 72768af

16 files changed

Lines changed: 926 additions & 82 deletions

res/values/layouts.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
<item>georgian_qwerty</item>
3939
<item>grek_qwerty</item>
4040
<item>guj_phonetic_in</item>
41+
<item>hang_dubeolsik_custom</item>
4142
<item>hang_dubeolsik_kr</item>
43+
<item>hang_dubeolsik_kr_custom_v1</item>
4244
<item>hebr_1_il</item>
4345
<item>hebr_2_il</item>
4446
<item>kann_kannada</item>
@@ -52,6 +54,7 @@
5254
<item>latn_qwerty_az</item>
5355
<item>latn_qwerty_bqn</item>
5456
<item>latn_qwerty_br</item>
57+
<item>latn_qwerty_custom</item>
5558
<item>latn_qwerty_cy</item>
5659
<item>latn_qwerty_cz</item>
5760
<item>latn_qwerty_da</item>
@@ -133,6 +136,8 @@
133136
<item>QWERTY (Greek)</item>
134137
<item>ગુજરાતી ફોનેટિક - Gujarati Phonetic</item>
135138
<item>두벌식 (Korean)</item>
139+
<item>두벌식 (Korean)</item>
140+
<item>두벌식 (Korean)</item>
136141
<item>Hebrew 1</item>
137142
<item>Hebrew 2</item>
138143
<item>ಕನ್ನಡ - Kannada</item>
@@ -146,6 +151,7 @@
146151
<item>QWERTY (Azərbaycanca)</item>
147152
<item>QWERTY (BQN)</item>
148153
<item>QWERTY (Brasileiro)</item>
154+
<item>QWERTY Custom</item>
149155
<item>QWERTY (Welsh)</item>
150156
<item>QWERTY (Czech)</item>
151157
<item>QWERTY (Danish)</item>
@@ -226,7 +232,9 @@
226232
<item>@xml/georgian_qwerty</item>
227233
<item>@xml/grek_qwerty</item>
228234
<item>@xml/guj_phonetic_in</item>
235+
<item>@xml/hang_dubeolsik_custom</item>
229236
<item>@xml/hang_dubeolsik_kr</item>
237+
<item>@xml/hang_dubeolsik_kr_custom_v1</item>
230238
<item>@xml/hebr_1_il</item>
231239
<item>@xml/hebr_2_il</item>
232240
<item>@xml/kann_kannada</item>
@@ -240,6 +248,7 @@
240248
<item>@xml/latn_qwerty_az</item>
241249
<item>@xml/latn_qwerty_bqn</item>
242250
<item>@xml/latn_qwerty_br</item>
251+
<item>@xml/latn_qwerty_custom</item>
243252
<item>@xml/latn_qwerty_cy</item>
244253
<item>@xml/latn_qwerty_cz</item>
245254
<item>@xml/latn_qwerty_da</item>

res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Candidates view -->
44
<style name="candidates_view">
55
<item name="android:layout_width">match_parent</item>
6-
<item name="android:layout_height">48dp</item>
6+
<item name="android:layout_height">wrap_content</item>
77
<item name="android:orientation">horizontal</item>
88
<item name="android:gravity">center</item>
99
</style>

srcs/juloo.keyboard2/Config.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public final class Config
8585
public Map<KeyValue, KeyboardData.PreferredPos> extra_keys_custom;
8686
public Cdict current_dictionary = null; // Might be 'null'.
8787
public Cdict emoji_dictionary = null; // Might be 'null'.
88+
public boolean current_dictionary_missing = false;
8889
public IKeyEventHandler handler;
8990
public boolean orientation_landscape = false;
9091
public boolean foldable_unfolded = false;

0 commit comments

Comments
 (0)