diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml
index ddf7f7f0b..a1546f11d 100644
--- a/java/res/values-land/dimens.xml
+++ b/java/res/values-land/dimens.xml
@@ -55,10 +55,10 @@
40.000%
0.0dp
-
- 3.20%p
- 78%
- 48%
+
+ 3.20%p
+ 78%
+ 48%
1.6dp
diff --git a/java/res/values-sw600dp-land/dimens.xml b/java/res/values-sw600dp-land/dimens.xml
index 4daa567d4..9664bf9ed 100644
--- a/java/res/values-sw600dp-land/dimens.xml
+++ b/java/res/values-sw600dp-land/dimens.xml
@@ -53,10 +53,10 @@
30.0%
4dp
-
- 3.20%p
- 62%
- 36%
+
+ 3.20%p
+ 62%
+ 36%
252.0dp
5
diff --git a/java/res/values-sw600dp/dimens.xml b/java/res/values-sw600dp/dimens.xml
index e5c32a3de..e608f7d7b 100644
--- a/java/res/values-sw600dp/dimens.xml
+++ b/java/res/values-sw600dp/dimens.xml
@@ -66,10 +66,10 @@
94.5dp
16.0dp
-
- 3.20%p
- 52%
- 27%
+
+ 3.20%p
+ 52%
+ 27%
8.0dp
diff --git a/java/res/values-sw768dp-land/dimens.xml b/java/res/values-sw768dp-land/dimens.xml
index 8f3de55b3..511217068 100644
--- a/java/res/values-sw768dp-land/dimens.xml
+++ b/java/res/values-sw768dp-land/dimens.xml
@@ -55,10 +55,10 @@
24.00%
107.1dp
-
- 2.65%p
- 53%
- 30%
+
+ 2.65%p
+ 53%
+ 30%
8.0dp
diff --git a/java/res/values-sw768dp/dimens.xml b/java/res/values-sw768dp/dimens.xml
index 7caa9843f..ec9d75988 100644
--- a/java/res/values-sw768dp/dimens.xml
+++ b/java/res/values-sw768dp/dimens.xml
@@ -67,10 +67,10 @@
94.5dp
16.0dp
-
- 2.95%p
- 51%
- 33%
+
+ 2.95%p
+ 51%
+ 33%
8.0dp
diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml
index 22cd3255b..aa16c7770 100644
--- a/java/res/values/dimens.xml
+++ b/java/res/values/dimens.xml
@@ -73,10 +73,10 @@
2dp
2dp
-
- 3.20%p
- 64%
- 41%
+
+ 3.20%p
+ 64%
+ 41%
8.0dp
diff --git a/java/res/xml-sw600dp-land/kbd_thai.xml b/java/res/xml-sw600dp-land/kbd_thai.xml
index e29ddb531..b4a4a0b92 100644
--- a/java/res/xml-sw600dp-land/kbd_thai.xml
+++ b/java/res/xml-sw600dp-land/kbd_thai.xml
@@ -20,11 +20,10 @@
+ latin:keyLabel="๑"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๒"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๓"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="๔"
+ latin:keyLabelFlags="fontNormal" />
+
+
+ latin:keyLabel=" ู"
+ latin:code="0x0E39"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="฿"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๕"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๖"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๗"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๘"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๙"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ๅ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ภ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="ถ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ุ"
+ latin:code="0x0E38"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ึ"
+ latin:code="0x0E36"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ค"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ต"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="จ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ข"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ช"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml-sw600dp/rowkeys_thai2.xml b/java/res/xml-sw600dp/rowkeys_thai2.xml
index edb759a89..71ab2c9df 100644
--- a/java/res/xml-sw600dp/rowkeys_thai2.xml
+++ b/java/res/xml-sw600dp/rowkeys_thai2.xml
@@ -27,82 +27,122 @@
>
+ latin:keyLabel="๐"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฎ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฑ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="ธ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ํ"
+ latin:code="0x0E4D"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ๊"
+ latin:code="0x0E4A"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ณ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฯ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ญ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฐ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฅ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ๆ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ไ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ำ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="พ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="ะ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ั"
+ latin:code="0x0E31"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ี"
+ latin:code="0x0E35"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ร"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="น"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ย"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="บ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ล"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฃ"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml-sw600dp/rowkeys_thai3.xml b/java/res/xml-sw600dp/rowkeys_thai3.xml
index 7507dde86..b9d1475ab 100644
--- a/java/res/xml-sw600dp/rowkeys_thai3.xml
+++ b/java/res/xml-sw600dp/rowkeys_thai3.xml
@@ -27,71 +27,108 @@
>
+ latin:keyLabel="ฤ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฆ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฏ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="โ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="ฌ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ็"
+ latin:code="0x0E47"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ๋"
+ latin:code="0x0E4B"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ษ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ศ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ซ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฟ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ห"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ก"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ด"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="เ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ้"
+ latin:code="0x0E49"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ่"
+ latin:code="0x0E48"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="า"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ส"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ว"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ง"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml-sw600dp/rowkeys_thai4.xml b/java/res/xml-sw600dp/rowkeys_thai4.xml
index 64549bdce..8a784242c 100644
--- a/java/res/xml-sw600dp/rowkeys_thai4.xml
+++ b/java/res/xml-sw600dp/rowkeys_thai4.xml
@@ -31,59 +31,92 @@
latin:keyLabel=")" />
+ latin:keyLabel="ฉ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="ฮ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ฺ"
+ latin:code="0x0E3A"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ์"
+ latin:code="0x0E4C"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ฒ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฬ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฦ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ผ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ป"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="แ"
+ latin:keyLabelFlags="fontNormal" />
-
+ latin:keyLabel="อ"
+ latin:keyLabelFlags="fontNormal" />
+
+
-
+ latin:keyLabel=" ิ"
+ latin:code="0x0E34"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ื"
+ latin:code="0x0E37"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ท"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ม"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ใ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฝ"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml-sw768dp-land/kbd_thai.xml b/java/res/xml-sw768dp-land/kbd_thai.xml
index e29ddb531..b4a4a0b92 100644
--- a/java/res/xml-sw768dp-land/kbd_thai.xml
+++ b/java/res/xml-sw768dp-land/kbd_thai.xml
@@ -20,11 +20,10 @@
+ latin:keyLabel="๑"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๒"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๓"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๔"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๕"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๖"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๗"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๘"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๙"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="๐"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml/kbd_pcqwerty.xml b/java/res/xml/kbd_pcqwerty.xml
index a6ab2baff..777c71af3 100644
--- a/java/res/xml/kbd_pcqwerty.xml
+++ b/java/res/xml/kbd_pcqwerty.xml
@@ -21,9 +21,9 @@
diff --git a/java/res/xml/rowkeys_thai1.xml b/java/res/xml/rowkeys_thai1.xml
index 4b49da171..e175befb3 100644
--- a/java/res/xml/rowkeys_thai1.xml
+++ b/java/res/xml/rowkeys_thai1.xml
@@ -27,28 +27,36 @@
>
+ latin:keyLabel="ฎ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฑ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ธ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ณ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ญ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฐ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฃ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฅ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="!fixedColumnOrder!4,๒,๓,๔,๕"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="!fixedColumnOrder!4,๗,๘,๙,๐"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="1,๑"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="2,๒"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="3,๓"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="4,๔"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="5,๕"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="6,๖"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="7,๗"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="8,๘"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="9,๙"
+ latin:keyLabelFlags="fontNormal" />
+ latin:additionalMoreKeys="0,๐"
+ latin:keyLabelFlags="fontNormal" />
diff --git a/java/res/xml/rowkeys_thai2.xml b/java/res/xml/rowkeys_thai2.xml
index 80e3563f8..f5fd405e4 100644
--- a/java/res/xml/rowkeys_thai2.xml
+++ b/java/res/xml/rowkeys_thai2.xml
@@ -27,60 +27,76 @@
>
+ latin:keyLabel="ฤ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฆ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฏ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฌ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ษ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ศ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ซ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="ๅ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="ฯ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="พ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ห"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ก"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ด"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ส"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ว"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ง"
+ latin:keyLabelFlags="fontNormal" />
-
+
+ latin:keyLabel=" ั"
+ latin:code="0x0E31"
+ latin:moreKeys="ิ,ี,ึ,ื,ุ,ู"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
diff --git a/java/res/xml/rowkeys_thai3.xml b/java/res/xml/rowkeys_thai3.xml
index b8338073c..2fcc0068a 100644
--- a/java/res/xml/rowkeys_thai3.xml
+++ b/java/res/xml/rowkeys_thai3.xml
@@ -27,57 +27,83 @@
>
+ latin:keyLabel="ฉ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฮ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฒ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ฬ"
+ latin:keyLabelFlags="fontNormal" />
-
+
-
+ latin:keyLabel=" ์"
+ latin:code="0x0E4C"
+ latin:moreKeys="ํ,ฺ"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+
+
+ latin:keyLabel=" ็"
+ latin:code="0x0E47"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+ latin:keyLabel="ผ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:moreKeys="บ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="อ"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ท"
+ latin:keyLabelFlags="fontNormal" />
+ latin:keyLabel="ม"
+ latin:keyLabelFlags="fontNormal" />
-
+
+ latin:keyLabel=" ่"
+ latin:code="0x0E48"
+ latin:moreKeys="้,๊,๋"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />