7a39bd4454
This change also * Honors the custom action label in EditorInfo.actionLabel. * Invokes InputConnection.performeEditorAction if action is specifed at EditorInfo.imeOptions or actionLabel/actionId. * Stops using InputMethodService.sendKeyChar. Implements sendKeyCodePoint instead. Bug: 2498607 Bug: 5961809 Bug: 5368408 Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d
192 lines
6.7 KiB
XML
192 lines
6.7 KiB
XML
<?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"
|
||
>
|
||
<include
|
||
latin:keyboardLayout="@xml/key_styles_common" />
|
||
<include
|
||
latin:keyboardLayout="@xml/key_styles_currency" />
|
||
<Row
|
||
latin:keyWidth="8.282%p"
|
||
>
|
||
<Key
|
||
latin:keyStyle="tabKeyStyle"
|
||
latin:keyLabelFlags="alignLeft"
|
||
latin:keyWidth="7.969%p" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_1"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_1"
|
||
latin:moreKeys="@string/more_keys_for_symbols_1" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_2"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_2"
|
||
latin:moreKeys="@string/more_keys_for_symbols_2" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_3"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_3"
|
||
latin:moreKeys="@string/more_keys_for_symbols_3" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_4"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_4"
|
||
latin:moreKeys="@string/more_keys_for_symbols_4" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_5"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_5"
|
||
latin:moreKeys="@string/more_keys_for_symbols_5" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_6"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_6"
|
||
latin:moreKeys="@string/more_keys_for_symbols_6" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_7"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_7"
|
||
latin:moreKeys="@string/more_keys_for_symbols_7" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_8"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_8"
|
||
latin:moreKeys="@string/more_keys_for_symbols_8" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_9"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_9"
|
||
latin:moreKeys="@string/more_keys_for_symbols_9" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_0"
|
||
latin:additionalMoreKeys="@string/additional_more_keys_for_symbols_0"
|
||
latin:moreKeys="@string/more_keys_for_symbols_0" />
|
||
<Key
|
||
latin:keyStyle="deleteKeyStyle"
|
||
latin:keyXPos="-9.219%p"
|
||
latin:keyWidth="fillRight" />
|
||
</Row>
|
||
<Row
|
||
latin:keyWidth="8.125%p"
|
||
>
|
||
<Key
|
||
latin:keyStyle="toAlphaKeyStyle"
|
||
latin:keyLabelFlags="alignLeft"
|
||
latin:keyWidth="11.172%p" />
|
||
<Key
|
||
latin:keyLabel="#" />
|
||
<Key
|
||
latin:keyStyle="currencyKeyStyle" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_percent"
|
||
latin:moreKeys="@string/more_keys_for_symbols_percent" />
|
||
<Key
|
||
latin:keyLabel="&" />
|
||
<Key
|
||
latin:keyLabel="*"
|
||
latin:moreKeys="@string/more_keys_for_star" />
|
||
<Key
|
||
latin:keyLabel="-"
|
||
latin:moreKeys="_,–,—" />
|
||
<Key
|
||
latin:keyLabel="+"
|
||
latin:moreKeys="@string/more_keys_for_plus" />
|
||
<include
|
||
latin:keyboardLayout="@xml/keys_parentheses" />
|
||
<Key
|
||
latin:keyStyle="enterKeyStyle"
|
||
latin:keyXPos="-15.704%p"
|
||
latin:keyWidth="fillBoth" />
|
||
</Row>
|
||
<Row
|
||
latin:keyWidth="8.047%p"
|
||
>
|
||
<Key
|
||
latin:keyStyle="toMoreSymbolKeyStyle"
|
||
latin:keyWidth="13.829%p" />
|
||
<include
|
||
latin:keyboardLayout="@xml/keys_less_greater" />
|
||
<Key
|
||
latin:keyLabel="="
|
||
latin:moreKeys="≠,≈" />
|
||
<switch>
|
||
<case
|
||
latin:mode="url"
|
||
>
|
||
<Key
|
||
latin:keyLabel="\'" />
|
||
</case>
|
||
<default>
|
||
<Key
|
||
latin:keyLabel=":" />
|
||
</default>
|
||
</switch>
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_semicolon"
|
||
latin:moreKeys="@string/more_keys_for_symbols_semicolon" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_comma"
|
||
latin:moreKeys="@string/more_keys_for_comma" />
|
||
<Key
|
||
latin:keyLabel="." />
|
||
<Key
|
||
latin:keyLabel="!"
|
||
latin:moreKeys="¡" />
|
||
<Key
|
||
latin:keyLabel="@string/keylabel_for_symbols_question"
|
||
latin:moreKeys="@string/more_keys_for_symbols_question" />
|
||
<Key
|
||
latin:keyStyle="toMoreSymbolKeyStyle"
|
||
latin:keyXPos="-13.750%p"
|
||
latin:keyWidth="fillBoth" />
|
||
</Row>
|
||
<Row
|
||
latin:keyWidth="8.047%p"
|
||
>
|
||
<switch>
|
||
<case
|
||
latin:hasSettingsKey="true"
|
||
>
|
||
<Key
|
||
latin:keyStyle="settingsKeyStyle"
|
||
latin:keyWidth="8.047%p" />
|
||
</case>
|
||
</switch>
|
||
<Key
|
||
latin:keyLabel="/"
|
||
latin:keyXPos="15.157%p" />
|
||
<Key
|
||
latin:keyLabel="\@" />
|
||
<Key
|
||
latin:keyStyle="spaceKeyStyle"
|
||
latin:keyXPos="31.250%p"
|
||
latin:keyWidth="37.500%p" />
|
||
<Key
|
||
latin:keyLabel="""
|
||
latin:moreKeys="@string/more_keys_for_tablet_double_quote"
|
||
latin:maxMoreKeysColumn="4" />
|
||
<Key
|
||
latin:keyLabel="_" />
|
||
<switch>
|
||
<case
|
||
latin:shortcutKeyEnabled="true"
|
||
>
|
||
<Key
|
||
latin:keyStyle="shortcutKeyStyle"
|
||
latin:keyXPos="-8.047%p"
|
||
latin:keyWidth="fillRight" />
|
||
</case>
|
||
</switch>
|
||
</Row>
|
||
</merge>
|