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
146 lines
4.1 KiB
XML
146 lines
4.1 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="~" />
|
||
<Key
|
||
latin:keyLabel="`" />
|
||
<Key
|
||
latin:keyLabel="|" />
|
||
<Key
|
||
latin:keyLabel="•"
|
||
latin:moreKeys="@string/more_keys_for_bullet" />
|
||
<Key
|
||
latin:keyLabel="√" />
|
||
<Key
|
||
latin:keyLabel="π"
|
||
latin:moreKeys="Π" />
|
||
<Key
|
||
latin:keyLabel="÷" />
|
||
<Key
|
||
latin:keyLabel="×" />
|
||
<Key
|
||
latin:keyLabel="§"
|
||
latin:moreKeys="¶" />
|
||
<Key
|
||
latin:keyLabel="Δ" />
|
||
<Key
|
||
latin:keyStyle="deleteKeyStyle"
|
||
latin:keyXPos="-9.219%p"
|
||
latin:keyWidth="fillBoth" />
|
||
</Row>
|
||
<Row
|
||
latin:keyWidth="8.125%p"
|
||
>
|
||
<Key
|
||
latin:keyStyle="toAlphaKeyStyle"
|
||
latin:keyLabelFlags="alignLeft"
|
||
latin:keyWidth="11.172%p" />
|
||
<Key
|
||
latin:keyStyle="moreCurrency1KeyStyle" />
|
||
<Key
|
||
latin:keyStyle="moreCurrency2KeyStyle" />
|
||
<Key
|
||
latin:keyStyle="moreCurrency3KeyStyle" />
|
||
<Key
|
||
latin:keyStyle="moreCurrency4KeyStyle" />
|
||
<Key
|
||
latin:keyLabel="^"
|
||
latin:moreKeys="↑,↓,←,→" />
|
||
<Key
|
||
latin:keyLabel="°"
|
||
latin:moreKeys="′,″" />
|
||
<Key
|
||
latin:keyLabel="±"
|
||
latin:moreKeys="∞" />
|
||
<include
|
||
latin:keyboardLayout="@xml/keys_curly_brackets" />
|
||
<Key
|
||
latin:keyStyle="enterKeyStyle"
|
||
latin:keyXPos="-15.704%p"
|
||
latin:keyWidth="fillBoth" />
|
||
</Row>
|
||
<Row
|
||
latin:keyWidth="8.047%p"
|
||
>
|
||
<Key
|
||
latin:keyStyle="backFromMoreSymbolKeyStyle"
|
||
latin:keyWidth="13.829%p" />
|
||
<Key
|
||
latin:keyLabel="\\" />
|
||
<Key
|
||
latin:keyLabel="©" />
|
||
<Key
|
||
latin:keyLabel="®" />
|
||
<Key
|
||
latin:keyLabel="™" />
|
||
<Key
|
||
latin:keyLabel="℅" />
|
||
<include
|
||
latin:keyboardLayout="@xml/keys_square_brackets" />
|
||
<Key
|
||
latin:keyLabel="¡" />
|
||
<Key
|
||
latin:keyLabel="¿" />
|
||
<Key
|
||
latin:keyStyle="backFromMoreSymbolKeyStyle"
|
||
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:keyStyle="spaceKeyStyle"
|
||
latin:keyXPos="31.250%p"
|
||
latin:keyWidth="37.500%p" />
|
||
<switch>
|
||
<case
|
||
latin:shortcutKeyEnabled="true"
|
||
>
|
||
<Key
|
||
latin:keyStyle="shortcutKeyStyle"
|
||
latin:keyXPos="-8.047%p"
|
||
latin:keyWidth="fillRight" />
|
||
</case>
|
||
</switch>
|
||
</Row>
|
||
</merge>
|