LatinIME/java/res/xml-xlarge/kbd_qwerty.xml

110 lines
3.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2010, 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.
*/
-->
<Keyboard
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
latin:keyWidth="8.2%p"
latin:horizontalGap="@dimen/key_horizontal_gap"
latin:verticalGap="@dimen/key_bottom_gap"
latin:keyHeight="@dimen/key_height"
>
<!-- This row is intentionally not marked as a top row -->
<Row>
<include latin:keyboardLayout="@xml/kbd_qwerty_row1_common" />
</Row>
<!-- TODO: We should have new attributes for <Key> to eliminate these excess duplications -->
<Row
latin:keyboardMode="@+id/mode_normal"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_url"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_email"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row2_email" />
</Row>
<Row
latin:keyboardMode="@+id/mode_im"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_webentry"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row2_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_normal"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_url"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_email"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row3_email" />
</Row>
<Row
latin:keyboardMode="@+id/mode_im"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_webentry"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row3_common" />
</Row>
<!-- This row is intentionally not marked as a bottom row -->
<Row
latin:keyboardMode="@+id/mode_normal"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_url"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4_url" />
</Row>
<Row
latin:keyboardMode="@+id/mode_email"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4_email" />
</Row>
<Row
latin:keyboardMode="@+id/mode_im"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4_common" />
</Row>
<Row
latin:keyboardMode="@+id/mode_webentry"
>
<include latin:keyboardLayout="@xml/kbd_qwerty_row4_common" />
</Row>
</Keyboard>