04448c2978
Change-Id: If869f5ad4fe8f192f89a8679a4abde99a25e02e6
156 lines
6.6 KiB
XML
156 lines
6.6 KiB
XML
<?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.
|
|
*/
|
|
-->
|
|
|
|
<merge
|
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
>
|
|
<Row
|
|
latin:keyWidth="10%p"
|
|
latin:rowEdgeFlags="bottom"
|
|
>
|
|
<switch>
|
|
<case
|
|
latin:hasSettingsKey="false"
|
|
>
|
|
<include
|
|
latin:keyboardLayout="@xml/kbd_qwerty_black_symbol" />
|
|
<include
|
|
latin:keyboardLayout="@xml/kbd_qwerty_black_f1" />
|
|
<switch>
|
|
<case
|
|
latin:mode="web"
|
|
>
|
|
<Key
|
|
latin:codes="@integer/key_space"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
latin:keyWidth="20%p" />
|
|
<Key
|
|
latin:codes="@integer/key_tab"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_tab"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_tab"
|
|
latin:keyWidth="20%p" />
|
|
</case>
|
|
<default>
|
|
<Key
|
|
latin:codes="@integer/key_space"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
latin:keyWidth="40%p" />
|
|
</default>
|
|
</switch>
|
|
<Key
|
|
latin:keyLabel="."
|
|
latin:keyHintIcon="@drawable/hint_popup"
|
|
latin:popupKeyboard="@xml/popup_punctuation" />
|
|
<switch>
|
|
<case
|
|
latin:mode="im"
|
|
>
|
|
<Key
|
|
latin:keyLabel=":-)"
|
|
latin:keyOutputText=":-) "
|
|
latin:keyHintIcon="@drawable/hint_popup"
|
|
latin:popupKeyboard="@xml/popup_smileys"
|
|
latin:keyWidth="20%p"
|
|
latin:keyEdgeFlags="right" />
|
|
</case>
|
|
<default>
|
|
<Key
|
|
latin:codes="@integer/key_return"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_return"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
latin:keyWidth="20%p"
|
|
latin:keyEdgeFlags="right" />
|
|
</default>
|
|
</switch>
|
|
</case>
|
|
<case
|
|
latin:hasSettingsKey="true"
|
|
>
|
|
<include
|
|
latin:keyboardLayout="@xml/kbd_qwerty_black_symbol" />
|
|
<Key
|
|
latin:codes="@integer/key_settings"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_settings"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_settings" />
|
|
<include
|
|
latin:keyboardLayout="@xml/kbd_qwerty_black_f1" />
|
|
<switch>
|
|
<case
|
|
latin:mode="web"
|
|
>
|
|
<Key
|
|
latin:codes="@integer/key_space"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
latin:keyWidth="30%p" />
|
|
<Key
|
|
latin:codes="@integer/key_tab"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_tab"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_tab" />
|
|
</case>
|
|
<default>
|
|
<Key
|
|
latin:codes="@integer/key_space"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space"
|
|
latin:keyWidth="30%p" />
|
|
</default>
|
|
</switch>
|
|
<Key
|
|
latin:keyLabel="."
|
|
latin:keyHintIcon="@drawable/hint_popup"
|
|
latin:popupKeyboard="@xml/popup_punctuation" />
|
|
<switch>
|
|
<case
|
|
latin:mode="im"
|
|
>
|
|
<Key
|
|
latin:keyLabel=":-)"
|
|
latin:keyOutputText=":-) "
|
|
latin:keyHintIcon="@drawable/hint_popup"
|
|
latin:popupKeyboard="@xml/popup_smileys"
|
|
latin:keyWidth="25%p"
|
|
latin:keyEdgeFlags="right" />
|
|
</case>
|
|
<case
|
|
latin:mode="web"
|
|
>
|
|
<Key
|
|
latin:codes="@integer/key_return"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_return"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
latin:keyWidth="15%p"
|
|
latin:keyEdgeFlags="right" />
|
|
</case>
|
|
<default>
|
|
<Key
|
|
latin:codes="@integer/key_return"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_return"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
|
|
latin:keyWidth="25%p"
|
|
latin:keyEdgeFlags="right" />
|
|
</default>
|
|
</switch>
|
|
</case>
|
|
</switch>
|
|
</Row>
|
|
</merge>
|