aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/keystyle_devanagari_vowel_sign_au.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-08-29 10:50:05 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-08-29 14:47:00 +0900
commitf1ec134dbaaec0f2aba9e333414fc6e471714f6e (patch)
treef9479883d47e031cb62c2765a219996dc0bdfa7c /java/res/xml/keystyle_devanagari_vowel_sign_au.xml
parentfcc6ab08ae29501b07b2dd6b1b56570cdcf4b624 (diff)
downloadlatinime-f1ec134dbaaec0f2aba9e333414fc6e471714f6e.tar.gz
latinime-f1ec134dbaaec0f2aba9e333414fc6e471714f6e.tar.xz
latinime-f1ec134dbaaec0f2aba9e333414fc6e471714f6e.zip
Clean up Devanagari key definitions
Change-Id: I42210a0bb974f7186fde35f4c8022b0c8603ab8d
Diffstat (limited to 'java/res/xml/keystyle_devanagari_vowel_sign_au.xml')
-rw-r--r--java/res/xml/keystyle_devanagari_vowel_sign_au.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/java/res/xml/keystyle_devanagari_vowel_sign_au.xml b/java/res/xml/keystyle_devanagari_vowel_sign_au.xml
new file mode 100644
index 000000000..29a11a82e
--- /dev/null
+++ b/java/res/xml/keystyle_devanagari_vowel_sign_au.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2013, 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.
+*/
+-->
+
+<!-- The code point U+25CC for key label is needed because the font rendering system prior to
+ API version 16 can't automatically render dotted circle for incomplete combining letter
+ of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
+ counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
+<merge
+ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
+>
+ <switch>
+ <case
+ latin:keyboardLayoutSet="hindi"
+ >
+ <!-- U+25CC: "◌" DOTTED CIRCLE
+ U+094C/U+0902: "ौं" DEVANAGARI VOWEL SIGN AU/DEVANAGARI SIGN ANUSVARA -->
+ <key-style
+ latin:styleName="moreKeysDevanagariVowelSignAu"
+ latin:moreKeys="&#x25CC;&#x094C;&#x0902;|&#x094C;&#x0902;,%" />
+ </case>
+ <default>
+ <key-style
+ latin:styleName="moreKeysDevanagariVowelSignAu" />
+ </default>
+ </switch>
+ <!-- U+094C: "ौ" DEVANAGARI VOWEL SIGN AU -->
+ <key-style
+ latin:styleName="baseKeyDevanagariVowelSignAu"
+ latin:parentStyle="moreKeysDevanagariVowelSignAu"
+ latin:keyLabel="&#x25CC;&#x094C;"
+ latin:code="0x094C"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+</merge>