aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/key_comma.xml
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-08-23 19:08:40 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-08-25 12:34:58 +0900
commitc9aa1beb6de6bbea71af8eba94354bff3001e0ac (patch)
treee5d3c1076ca593a94a4296610f13760fc2e9012c /java/res/xml/key_comma.xml
parent2637be27c51be03e39b0db1c66312c4cc55bc7de (diff)
downloadlatinime-c9aa1beb6de6bbea71af8eba94354bff3001e0ac.tar.gz
latinime-c9aa1beb6de6bbea71af8eba94354bff3001e0ac.tar.xz
latinime-c9aa1beb6de6bbea71af8eba94354bff3001e0ac.zip
Fix the bottom row of tablet keyboard layout
This CL eliminates "_" and "/" keys from the bottom row of tablet keyboard. This CL also reorganizes the bottom row of tablet Dvorak keyboard. Bug: 16603887 Change-Id: Ic1570836dea1a475bed5d43aeb6a351507bf5428
Diffstat (limited to 'java/res/xml/key_comma.xml')
-rw-r--r--java/res/xml/key_comma.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/java/res/xml/key_comma.xml b/java/res/xml/key_comma.xml
new file mode 100644
index 000000000..cf919a85d
--- /dev/null
+++ b/java/res/xml/key_comma.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, 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"
+>
+ <switch>
+ <case
+ latin:keyboardLayoutSet="dvorak"
+ >
+ <Key
+ latin:keySpec="q"
+ latin:moreKeys="!text/morekeys_q,%"
+ latin:backgroundType="normal"
+ latin:keyStyle="settingsMoreKeysStyle" />
+ </case>
+ <case
+ latin:mode="url"
+ >
+ <Key
+ latin:keySpec="/"
+ latin:keyStyle="settingsMoreKeysStyle" />
+ </case>
+ <case
+ latin:mode="email"
+ >
+ <Key
+ latin:keySpec="\@"
+ latin:keyStyle="settingsMoreKeysStyle" />
+ </case>
+ <default>
+ <Key
+ latin:keySpec="!text/keyspec_comma"
+ latin:keyLabelFlags="hasPopupHint"
+ latin:keyStyle="settingsMoreKeysStyle" />
+ </default>
+ </switch>
+</merge>