Introduce new 7" keyboard layout (DO NOT MERGE)
This change only changes QWERTY layout. The phone/number and
AZERTY/QWERTZ/Russian/Scandinavia layouts will be fixed soon.
Bug: 4442045
Change-Id: Ib42c84e1d05fee513b1b7680ef0dcf755298d444
diff --git a/java/res/xml-sw600dp/kbd_settings.xml b/java/res/xml-sw600dp/kbd_settings.xml
new file mode 100644
index 0000000..86dc1f7
--- /dev/null
+++ b/java/res/xml-sw600dp/kbd_settings.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2011, 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:mode="web"
+ >
+ <switch>
+ <case
+ latin:voiceKeyEnabled="true"
+ latin:passwordInput="false"
+ >
+ <Key
+ latin:keyStyle="webTabKeyStyle"
+ latin:keyWidth="6.5%p" />
+ <Key
+ latin:keyStyle="micKeyStyle"
+ latin:keyWidth="6.6%p" />
+ </case>
+ <default>
+ <Spacer
+ latin:horizontalGap="4.15%p" />
+ <Key
+ latin:keyStyle="webTabKeyStyle" />
+ </default>
+ </switch>
+ </case>
+ <default>
+ <switch>
+ <case
+ latin:hasSettingsKey="true"
+ latin:voiceKeyEnabled="true"
+ >
+ <Key
+ latin:keyStyle="settingsKeyStyle"
+ latin:keyWidth="6.5%p" />
+ <Key
+ latin:keyStyle="micKeyStyle"
+ latin:keyWidth="6.6%p" />
+ </case>
+ <case
+ latin:hasSettingsKey="true"
+ latin:voiceKeyEnabled="false"
+ >
+ <Spacer
+ latin:horizontalGap="4.15%p" />
+ <Key
+ latin:keyStyle="settingsKeyStyle" />
+ </case>
+ <case
+ latin:hasSettingsKey="false"
+ latin:voiceKeyEnabled="true"
+ >
+ <Spacer
+ latin:horizontalGap="4.15%p" />
+ <Key
+ latin:keyStyle="micKeyStyle" />
+ </case>
+ <default>
+ <Spacer
+ latin:horizontalGap="13.0%p" />
+ </default>
+ </switch>
+ </default>
+ </switch>
+</merge>