Move fontNormal flag from Key to Row
Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47
diff --git a/java/res/xml/rowkeys_thai2.xml b/java/res/xml/rowkeys_thai2.xml
index 7ab036a..f43d31f 100644
--- a/java/res/xml/rowkeys_thai2.xml
+++ b/java/res/xml/rowkeys_thai2.xml
@@ -18,63 +18,45 @@
*/
-->
-<merge
- xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
->
+<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
<switch>
- <case
- latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted"
- >
+ <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
<!-- U+0E50: "๐" THAI DIGIT ZERO -->
+ <Key latin:keySpec="๐" />
<Key
- latin:keySpec="๐"
- latin:keyLabelFlags="fontNormal" />
- <Key
- latin:keySpec=""" />
+ latin:keySpec="""
+ latin:keyLabelFlags="fontDefault" />
<!-- U+0E0E: "ฎ" THAI CHARACTER DO CHADA -->
- <Key
- latin:keySpec="ฎ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฎ" />
<!-- U+0E11: "ฑ" THAI CHARACTER THO NANGMONTHO -->
- <Key
- latin:keySpec="ฑ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฑ" />
<!-- U+0E18: "ธ" THAI CHARACTER THO THONG -->
- <Key
- latin:keySpec="ธ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ธ" />
<!-- U+0020: " " SPACE
U+0E4D: " ํ" THAI CHARACTER THANTHAKHAT -->
<!-- Note: The space character is needed as a preceding letter to draw some Thai
composing characters correctly. -->
<Key
latin:keySpec=" ํ|ํ"
- latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabelFlags="followKeyLetterRatio" />
<!-- U+0020: " " SPACE
U+0E4A: " ๊" THAI CHARACTER MAI TRI -->
<!-- Note: The space character is needed as a preceding letter to draw some Thai
composing characters correctly. -->
<Key
latin:keySpec=" ๊|๊"
- latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabelFlags="followKeyLetterRatio" />
<!-- U+0E13: "ณ" THAI CHARACTER NO NEN -->
- <Key
- latin:keySpec="ณ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ณ" />
<!-- U+0E2F: "ฯ" THAI CHARACTER PAIYANNOI -->
- <Key
- latin:keySpec="ฯ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฯ" />
<!-- U+0E0D: "ญ" THAI CHARACTER YO YING -->
- <Key
- latin:keySpec="ญ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ญ" />
<!-- U+0E10: "ฐ" THAI CHARACTER THO THAN -->
+ <Key latin:keySpec="ฐ" />
<Key
- latin:keySpec="ฐ"
- latin:keyLabelFlags="fontNormal" />
- <Key
- latin:keySpec="," />
+ latin:keySpec=","
+ latin:keyLabelFlags="fontDefault" />
</case>
<default>
<!-- U+0E46: "ๆ" THAI CHARACTER MAIYAMOK
@@ -83,58 +65,39 @@
latin:keySpec="ๆ"
latin:keyHintLabel="0"
latin:additionalMoreKeys="0"
- latin:moreKeys="๐"
- latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="๐" />
<!-- U+0E44: "ไ" THAI CHARACTER SARA AI MAIMALAI -->
- <Key
- latin:keySpec="ไ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ไ" />
<!-- U+0E33: "ำ" THAI CHARACTER SARA AM -->
- <Key
- latin:keySpec="ำ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ำ" />
<!-- U+0E1E: "พ" THAI CHARACTER PHO PHAN -->
- <Key
- latin:keySpec="พ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="พ" />
<!-- U+0E30: "ะ" THAI CHARACTER SARA A -->
- <Key
- latin:keySpec="ะ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ะ" />
<!-- U+0020: " " SPACE
U+0E31: " ั" THAI CHARACTER MAI HAN-AKAT -->
<!-- Note: The space character is needed as a preceding letter to draw some Thai
composing characters correctly. -->
<Key
latin:keySpec=" ั|ั"
- latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabelFlags="followKeyLetterRatio" />
<!-- U+0020: " " SPACE
U+0E35: " ี" HAI CHARACTER SARA II -->
<!-- Note: The space character is needed as a preceding letter to draw some Thai
composing characters correctly. -->
<Key
latin:keySpec=" ี|ี"
- latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabelFlags="followKeyLetterRatio" />
<!-- U+0E23: "ร" THAI CHARACTER RO RUA -->
- <Key
- latin:keySpec="ร"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ร" />
<!-- U+0E19: "น" THAI CHARACTER NO NU -->
- <Key
- latin:keySpec="น"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="น" />
<!-- U+0E22: "ย" THAI CHARACTER YO YAK -->
- <Key
- latin:keySpec="ย"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ย" />
<!-- U+0E1A: "บ" THAI CHARACTER BO BAIMAI -->
- <Key
- latin:keySpec="บ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="บ" />
<!-- U+0E25: "ล" THAI CHARACTER LO LING -->
- <Key
- latin:keySpec="ล"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ล" />
</default>
</switch>
</merge>