2009-03-13 22:11:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
2010-09-02 03:57:07 +00:00
|
|
|
/*
|
2009-03-13 22:11:42 +00:00
|
|
|
**
|
|
|
|
** Copyright 2008, The Android Open Source Project
|
|
|
|
**
|
2010-09-02 03:57:07 +00:00
|
|
|
** 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
|
2009-03-13 22:11:42 +00:00
|
|
|
**
|
2010-09-02 03:57:07 +00:00
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
2009-03-13 22:11:42 +00:00
|
|
|
**
|
2010-09-02 03:57:07 +00:00
|
|
|
** 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
|
2009-03-13 22:11:42 +00:00
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
2010-09-08 06:12:51 +00:00
|
|
|
<Keyboard
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:horizontalGap="0px"
|
|
|
|
android:verticalGap="0px"
|
|
|
|
android:keyHeight="@dimen/key_height"
|
2010-09-08 06:12:51 +00:00
|
|
|
>
|
2009-03-13 22:11:42 +00:00
|
|
|
<Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="a"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_a"
|
|
|
|
android:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="z"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_z" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="e"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_e" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="r"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_r" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="t"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_t" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="y"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_y" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="u"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_u" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="i"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_i" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="o"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_o" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_p"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyEdgeFlags="right" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</Row>
|
|
|
|
<Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="q"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_q"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyEdgeFlags="left" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="s"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_s" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="d"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_d" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="f" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="g"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_g" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="h" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="j" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="k" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="l"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_l" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="m"
|
|
|
|
android:keyEdgeFlags="right" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</Row>
|
|
|
|
<Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_shift"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_shift"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_shift"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyWidth="15%p"
|
|
|
|
android:isModifier="true"
|
|
|
|
android:isSticky="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="w"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_w" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="x" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="c"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_c" />
|
|
|
|
<Key
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyLabel="v"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_v" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="b" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="n"
|
|
|
|
android:popupKeyboard="@xml/kbd_popup_template"
|
|
|
|
android:popupCharacters="@string/alternates_for_n" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="\'" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_delete"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_delete"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_delete"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyWidth="15%p"
|
|
|
|
android:isModifier="true"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:isRepeatable="true"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:keyEdgeFlags="right" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Row
|
|
|
|
android:keyboardMode="@+id/mode_normal"
|
|
|
|
android:rowEdgeFlags="bottom"
|
|
|
|
>
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_symbol"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyLabel="@string/label_symbol_key"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_settings"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_settings"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_f1"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_mic"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_mic"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_space"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_space"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
|
|
android:keyWidth="30%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:isRepeatable="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="."
|
|
|
|
android:popupKeyboard="@xml/popup_punctuation"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_return"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_return"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
|
|
android:keyWidth="25%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="right" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Row
|
|
|
|
android:keyboardMode="@+id/mode_url"
|
|
|
|
android:rowEdgeFlags="bottom"
|
|
|
|
>
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_symbol"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyLabel="@string/label_symbol_key"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_settings"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_settings"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="/"
|
2010-09-08 08:24:16 +00:00
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_space"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_space"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
|
|
android:keyWidth="30%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:isRepeatable="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="."
|
|
|
|
android:popupKeyboard="@xml/popup_punctuation"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_return"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_return"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
|
|
android:keyWidth="25%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="right" />
|
2009-03-13 22:11:42 +00:00
|
|
|
</Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Row
|
|
|
|
android:keyboardMode="@+id/mode_email"
|
|
|
|
android:rowEdgeFlags="bottom"
|
|
|
|
>
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_symbol"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyLabel="@string/label_symbol_key"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_settings"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_settings"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="\@"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_space"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_space"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
|
|
android:keyWidth="30%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:isRepeatable="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="."
|
|
|
|
android:popupKeyboard="@xml/popup_punctuation"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_return"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_return"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
|
|
android:keyWidth="25%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="right" />
|
2010-01-16 20:21:23 +00:00
|
|
|
</Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Row
|
|
|
|
android:keyboardMode="@+id/mode_im"
|
|
|
|
android:rowEdgeFlags="bottom"
|
|
|
|
>
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_symbol"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyLabel="@string/label_symbol_key"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_settings"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_settings"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_f1"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_mic"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_mic"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_space"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_space"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
|
|
android:keyWidth="30%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:isRepeatable="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:keyLabel="."
|
|
|
|
android:popupKeyboard="@xml/popup_punctuation"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel=":-)"
|
|
|
|
android:keyOutputText=":-) "
|
|
|
|
android:popupKeyboard="@xml/popup_smileys"
|
|
|
|
android:keyWidth="25%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="right" />
|
2010-01-16 20:21:23 +00:00
|
|
|
</Row>
|
2010-09-08 06:12:51 +00:00
|
|
|
<Row
|
|
|
|
android:keyboardMode="@+id/mode_webentry"
|
|
|
|
android:rowEdgeFlags="bottom"
|
|
|
|
>
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_symbol"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyLabel="@string/label_symbol_key"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="left" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_settings"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_settings"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:codes="@integer/key_f1"
|
|
|
|
android:keyIcon="@drawable/sym_keyboard_mic"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_mic"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_space"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_space"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
|
|
android:keyWidth="30%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:isRepeatable="true" />
|
2010-09-08 06:12:51 +00:00
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_tab"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_tab"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_tab"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
|
|
|
android:keyLabel="."
|
|
|
|
android:popupKeyboard="@xml/popup_punctuation"
|
|
|
|
android:keyWidth="10%p"
|
|
|
|
android:isModifier="true" />
|
|
|
|
<Key
|
2010-09-08 07:51:50 +00:00
|
|
|
android:codes="@integer/key_return"
|
2010-09-08 06:12:51 +00:00
|
|
|
android:keyIcon="@drawable/sym_keyboard_return"
|
|
|
|
android:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
|
|
android:keyWidth="15%p"
|
2010-09-08 11:24:59 +00:00
|
|
|
android:isModifier="true"
|
|
|
|
android:keyEdgeFlags="right" />
|
2010-01-27 05:25:29 +00:00
|
|
|
</Row>
|
2010-09-08 08:24:16 +00:00
|
|
|
</Keyboard>
|