aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml-sw600dp
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-07-09 01:00:56 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-07-09 01:44:04 +0900
commit03aa084ccd9d7c542711051ec1c50e0de43f1d8d (patch)
tree1f9a0719fa986f5cc2268dd930a88d4acc74d533 /java/res/xml-sw600dp
parentcc8f4491e3f1cc956002397f8e04ed023fb20c5c (diff)
downloadlatinime-03aa084ccd9d7c542711051ec1c50e0de43f1d8d.tar.gz
latinime-03aa084ccd9d7c542711051ec1c50e0de43f1d8d.tar.xz
latinime-03aa084ccd9d7c542711051ec1c50e0de43f1d8d.zip
Add Kannada keyboard
Bug: 10029252 Change-Id: Ia03ff886f9e62a2fe228fe59b504b033eead7631
Diffstat (limited to 'java/res/xml-sw600dp')
-rw-r--r--java/res/xml-sw600dp/key_space_5kw.xml7
-rw-r--r--java/res/xml-sw600dp/rows_kannada.xml49
2 files changed, 54 insertions, 2 deletions
diff --git a/java/res/xml-sw600dp/key_space_5kw.xml b/java/res/xml-sw600dp/key_space_5kw.xml
index 71ae5fd8f..bf7dffbe9 100644
--- a/java/res/xml-sw600dp/key_space_5kw.xml
+++ b/java/res/xml-sw600dp/key_space_5kw.xml
@@ -22,8 +22,11 @@
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
<switch>
+ <!-- fa: Perisan
+ kn: Kannada
+ ne: Nepali -->
<case
- latin:languageCode="fa|ne"
+ latin:languageCode="fa|kn|ne"
latin:languageSwitchKeyEnabled="true"
>
<Key
@@ -35,7 +38,7 @@
latin:keyStyle="zwnjKeyStyle" />
</case>
<case
- latin:languageCode="fa|ne"
+ latin:languageCode="fa|kn|ne"
latin:languageSwitchKeyEnabled="false"
>
<Key
diff --git a/java/res/xml-sw600dp/rows_kannada.xml b/java/res/xml-sw600dp/rows_kannada.xml
new file mode 100644
index 000000000..55eedc559
--- /dev/null
+++ b/java/res/xml-sw600dp/rows_kannada.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2014, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
+ <include latin:keyboardLayout="@xml/key_styles_common" />
+ <Row
+ latin:keyWidth="8.182%p"
+ latin:keyLabelFlags="fontNormal|autoXScale"
+ >
+ <include latin:keyboardLayout="@xml/rowkeys_kannada1" />
+ <Key
+ latin:keyStyle="deleteKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+ <Row
+ latin:keyWidth="8.182%p"
+ latin:keyLabelFlags="fontNormal|autoXScale"
+ >
+ <include latin:keyboardLayout="@xml/rowkeys_kannada2" />
+ <Key
+ latin:keyStyle="enterKeyStyle"
+ latin:keyWidth="fillRight" />
+ </Row>
+ <Row
+ latin:keyWidth="8.182%p"
+ latin:keyLabelFlags="fontNormal|autoXScale"
+ >
+ <include latin:keyboardLayout="@xml/rowkeys_kannada3" />
+ <include latin:keyboardLayout="@xml/keys_exclamation_question" />
+ </Row>
+ <include latin:keyboardLayout="@xml/row_qwerty4" />
+</merge>