diff options
author | 2014-01-06 12:50:36 +0900 | |
---|---|---|
committer | 2014-01-06 15:02:50 +0900 | |
commit | d561228f95ccb7f6f1d3db7b3e3fc4a43a6be47a (patch) | |
tree | 9ba547c0eb26e1e63224a5fd3b8927cedd8bdead | |
parent | e91559a1197e794f3c41e442900907a680d0c91d (diff) | |
download | latinime-d561228f95ccb7f6f1d3db7b3e3fc4a43a6be47a.tar.gz latinime-d561228f95ccb7f6f1d3db7b3e3fc4a43a6be47a.tar.xz latinime-d561228f95ccb7f6f1d3db7b3e3fc4a43a6be47a.zip |
Remove language switch key from symbols and symbols shift keyboard
This change also fixes the background color of the left keys of the space key.
Bug: 12407208
Change-Id: Id869605146e9f72835f892c3c7ae14f118177394
-rw-r--r-- | java/res/xml/key_space_3kw.xml | 41 | ||||
-rw-r--r-- | java/res/xml/key_space_symbols.xml | 6 | ||||
-rw-r--r-- | java/res/xml/keys_comma_period_symbols.xml | 6 | ||||
-rw-r--r-- | java/res/xml/rows_symbols.xml | 1 | ||||
-rw-r--r-- | java/res/xml/rows_symbols_shift.xml | 1 |
5 files changed, 8 insertions, 47 deletions
diff --git a/java/res/xml/key_space_3kw.xml b/java/res/xml/key_space_3kw.xml deleted file mode 100644 index 20ec882df..000000000 --- a/java/res/xml/key_space_3kw.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?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. -*/ ---> - -<merge - xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" -> - <switch> - <case - latin:languageSwitchKeyEnabled="true" - > - <Key - latin:keyStyle="languageSwitchKeyStyle" /> - <Key - latin:keyStyle="spaceKeyStyle" - latin:keyWidth="20%p" /> - </case> - <!-- languageSwitchKeyEnabled="false" --> - <default> - <Key - latin:keyStyle="spaceKeyStyle" - latin:keyWidth="30%p" /> - </default> - </switch> -</merge> diff --git a/java/res/xml/key_space_symbols.xml b/java/res/xml/key_space_symbols.xml index 1efc4ff4e..0ce522889 100644 --- a/java/res/xml/key_space_symbols.xml +++ b/java/res/xml/key_space_symbols.xml @@ -21,6 +21,8 @@ <merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" > - <include - latin:keyboardLayout="@xml/key_space_3kw" /> + <Key + latin:backgroundType="normal" + latin:keyStyle="spaceKeyStyle" + latin:keyWidth="30%p" /> </merge> diff --git a/java/res/xml/keys_comma_period_symbols.xml b/java/res/xml/keys_comma_period_symbols.xml index 6465fedd1..cbdbe2ea2 100644 --- a/java/res/xml/keys_comma_period_symbols.xml +++ b/java/res/xml/keys_comma_period_symbols.xml @@ -22,11 +22,9 @@ xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" > <Key - latin:keyLabel="," - latin:backgroundType="functional" /> + latin:keyLabel="," /> <!-- U+2026: "…" HORIZONTAL ELLIPSIS --> <Key latin:keyLabel="." - latin:moreKeys="…" - latin:backgroundType="functional" /> + latin:moreKeys="…" /> </merge> diff --git a/java/res/xml/rows_symbols.xml b/java/res/xml/rows_symbols.xml index d0606c63b..6fd876f4e 100644 --- a/java/res/xml/rows_symbols.xml +++ b/java/res/xml/rows_symbols.xml @@ -54,6 +54,7 @@ </Row> <Row latin:keyWidth="10%p" + latin:backgroundType="functional" > <Key latin:keyStyle="toAlphaKeyStyle" diff --git a/java/res/xml/rows_symbols_shift.xml b/java/res/xml/rows_symbols_shift.xml index c4bdb9f38..64f6e6114 100644 --- a/java/res/xml/rows_symbols_shift.xml +++ b/java/res/xml/rows_symbols_shift.xml @@ -54,6 +54,7 @@ </Row> <Row latin:keyWidth="10%p" + latin:backgroundType="functional" > <Key latin:keyStyle="toAlphaKeyStyle" |