Move fontNormal flag from Key to Row
Change-Id: I250da7c82e005ffe2027c528a1df731a1a3cdf47
diff --git a/java/res/xml/rowkeys_thai3.xml b/java/res/xml/rowkeys_thai3.xml
index 098d8a7..03959b9 100644
--- a/java/res/xml/rowkeys_thai3.xml
+++ b/java/res/xml/rowkeys_thai3.xml
@@ -18,113 +18,76 @@
*/
-->
-<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+0E24: "ฤ" THAI CHARACTER RU -->
- <Key
- latin:keySpec="ฤ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฤ" />
<!-- U+0E06: "ฆ" THAI CHARACTER KHO RAKHANG -->
- <Key
- latin:keySpec="ฆ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฆ" />
<!-- U+0E0F: "ฏ" THAI CHARACTER TO PATAK -->
- <Key
- latin:keySpec="ฏ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฏ" />
<!-- U+0E42: "โ" THAI CHARACTER SARA O -->
- <Key
- latin:keySpec="โ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="โ" />
<!-- U+0E0C: "ฌ" THAI CHARACTER CHO CHOE -->
- <Key
- latin:keySpec="ฌ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฌ" />
<!-- U+0020: " " SPACE
U+0E47: " ็" THAI CHARACTER MAITAIKHU -->
<!-- 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+0E4B: " ๋" THAI CHARACTER MAI CHATTAWA -->
<!-- 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+0E29: "ษ" THAI CHARACTER SO RUSI -->
- <Key
- latin:keySpec="ษ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ษ" />
<!-- U+0E28: "ศ" THAI CHARACTER SO SALA -->
- <Key
- latin:keySpec="ศ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ศ" />
<!-- U+0E0B: "ซ" THAI CHARACTER SO SO -->
+ <Key latin:keySpec="ซ" />
<Key
- latin:keySpec="ซ"
- latin:keyLabelFlags="fontNormal" />
- <Key
- latin:keySpec="." />
+ latin:keySpec="."
+ latin:keyLabelFlags="fontDefault" />
</case>
<default>
<!-- U+0E1F: "ฟ" THAI CHARACTER FO FAN -->
- <Key
- latin:keySpec="ฟ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ฟ" />
<!-- U+0E2B: "ห" THAI CHARACTER HO HIP -->
- <Key
- latin:keySpec="ห"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ห" />
<!-- U+0E01: "ก" THAI CHARACTER KO KAI -->
- <Key
- latin:keySpec="ก"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ก" />
<!-- U+0E14: "ด" THAI CHARACTER DO DEK -->
- <Key
- latin:keySpec="ด"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ด" />
<!-- U+0E40: "เ" THAI CHARACTER SARA E -->
- <Key
- latin:keySpec="เ"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="เ" />
<!-- U+0020: " " SPACE
U+0E49: " ้" THAI CHARACTER MAI THO -->
<!-- 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+0E48: " ่" THAI CHARACTER MAI EK -->
<!-- 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+0E32: "า" THAI CHARACTER SARA AA -->
- <Key
- latin:keySpec="า"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="า" />
<!-- U+0E2A: "ส" THAI CHARACTER SO SUA -->
- <Key
- latin:keySpec="ส"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ส" />
<!-- U+0E27: "ว" THAI CHARACTER WO WAEN -->
- <Key
- latin:keySpec="ว"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ว" />
<!-- U+0E07: "ง" THAI CHARACTER NGO NGU -->
- <Key
- latin:keySpec="ง"
- latin:keyLabelFlags="fontNormal" />
+ <Key latin:keySpec="ง" />
</default>
</switch>
</merge>