aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/keystyle_devanagari_sign_anusvara.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-04-03 14:47:38 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-04-03 17:59:29 +0900
commit303f440311537c1a5c7823d6de0579ccf7481a85 (patch)
tree9b4a5084c8c0885eca6c78140f2f167249e45180 /java/res/xml/keystyle_devanagari_sign_anusvara.xml
parent87d30a76b1ca3b634c25c81f386189281d88253e (diff)
downloadlatinime-303f440311537c1a5c7823d6de0579ccf7481a85.tar.gz
latinime-303f440311537c1a5c7823d6de0579ccf7481a85.tar.xz
latinime-303f440311537c1a5c7823d6de0579ccf7481a85.zip
Refactor Devanagari key-styles
Change-Id: I799b04317d5b7daff4bb230294b2de474e5585eb
Diffstat (limited to 'java/res/xml/keystyle_devanagari_sign_anusvara.xml')
-rw-r--r--java/res/xml/keystyle_devanagari_sign_anusvara.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/res/xml/keystyle_devanagari_sign_anusvara.xml b/java/res/xml/keystyle_devanagari_sign_anusvara.xml
new file mode 100644
index 000000000..0486a5dda
--- /dev/null
+++ b/java/res/xml/keystyle_devanagari_sign_anusvara.xml
@@ -0,0 +1,34 @@
+<?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"
+>
+ <!-- U+25CC: "◌" DOTTED CIRCLE
+ U+0902: "ं" DEVANAGARI SIGN ANUSVARA -->
+ <key-style
+ latin:styleName="baseKeyDevanagariSignAnusvara"
+ latin:keySpec="&#x25CC;&#x0902;|&#x0902;"
+ latin:keyLabelFlags="fontNormal|followKeyLetterRatio" />
+</merge>