blob: 6836c2d61da1a9608e951621dd666c2eb653c847 [file] [log] [blame]
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2010, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<Keyboard
satok4fc510a2010-10-01 19:40:44 +090022 xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
23 latin:keyWidth="7.5%p"
Tadashi G. Takaoka58bfa352010-10-19 17:08:54 +090024 latin:horizontalGap="@dimen/key_horizontal_gap"
Tadashi G. Takaokacd7b7d32010-10-12 15:02:44 +090025 latin:verticalGap="@dimen/key_bottom_gap"
satok4fc510a2010-10-01 19:40:44 +090026 latin:keyHeight="@dimen/key_height"
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090027>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090028 <!-- This row is intentionally not marked as a top row -->
Tadashi G. Takaoka4d3a4dc2010-10-09 01:06:26 +090029 <Row>
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090030 <include latin:keyboardLayout="@xml/kbd_qwerty_row1_common" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090031 </Row>
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090032 <!-- TODO: We should have new attributes for <Key> to eliminate these excess duplications -->
33 <Row
34 latin:keyboardMode="@+id/mode_normal"
35 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090036 <include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090037 </Row>
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090038 <Row
39 latin:keyboardMode="@+id/mode_url"
40 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090041 <include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090042 </Row>
43 <Row
44 latin:keyboardMode="@+id/mode_email"
45 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090046 <include latin:keyboardLayout="@xml/kbd_qwerty_row2_email" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090047 </Row>
48 <Row
49 latin:keyboardMode="@+id/mode_im"
50 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090051 <include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090052 </Row>
53 <Row
54 latin:keyboardMode="@+id/mode_webentry"
55 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090056 <include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090057 </Row>
58 <Row
59 latin:keyboardMode="@+id/mode_normal"
60 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090061 <include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090062 </Row>
63 <Row
64 latin:keyboardMode="@+id/mode_url"
65 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090066 <include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090067 </Row>
68 <Row
69 latin:keyboardMode="@+id/mode_email"
70 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090071 <include latin:keyboardLayout="@xml/kbd_qwerty_row3_email" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090072 </Row>
73 <Row
74 latin:keyboardMode="@+id/mode_im"
75 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090076 <include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090077 </Row>
78 <Row
79 latin:keyboardMode="@+id/mode_webentry"
80 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090081 <include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +090082 </Row>
Tadashi G. Takaokab514d3f2010-09-28 09:39:19 +090083 <!-- This row is intentionally not marked as a bottom row -->
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090084 <Row
85 latin:keyboardMode="@+id/mode_normal"
86 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090087 <include latin:keyboardLayout="@xml/kbd_qwerty_row4_common" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090088 </Row>
89 <Row
90 latin:keyboardMode="@+id/mode_url"
91 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090092 <include latin:keyboardLayout="@xml/kbd_qwerty_row4_url" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090093 </Row>
94 <Row
95 latin:keyboardMode="@+id/mode_email"
96 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +090097 <include latin:keyboardLayout="@xml/kbd_qwerty_row4_email" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +090098 </Row>
99 <Row
100 latin:keyboardMode="@+id/mode_im"
101 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +0900102 <include latin:keyboardLayout="@xml/kbd_qwerty_row4_im" />
Tadashi G. Takaoka50a61082010-10-11 22:39:04 +0900103 </Row>
104 <Row
105 latin:keyboardMode="@+id/mode_webentry"
106 >
Tadashi G. Takaokac9bf5c02010-10-20 23:10:27 +0900107 <include latin:keyboardLayout="@xml/kbd_qwerty_row4_common" />
Tadashi G. Takaokab1fcbec2010-09-27 17:07:09 +0900108 </Row>
109</Keyboard>