mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
de0c8874a4
This change also introduces the following. * space bar language switcher is enabled for phone device. * get rid of spcae key icon from number keyboard of tablet. * slightly lower the position of language name on space bar of tablet. Bug: 3290290 Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
149 lines
5.8 KiB
XML
149 lines
5.8 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"
|
|
>
|
|
<switch>
|
|
<case
|
|
latin:colorScheme="white"
|
|
>
|
|
<key-style
|
|
latin:styleName="num0KeyStyle"
|
|
latin:code="48"
|
|
latin:keyIcon="@drawable/sym_keyboard_num0_holo" />
|
|
<key-style
|
|
latin:styleName="num1KeyStyle"
|
|
latin:code="49"
|
|
latin:keyIcon="@drawable/sym_keyboard_num1_holo" />
|
|
<key-style
|
|
latin:styleName="num2KeyStyle"
|
|
latin:code="50"
|
|
latin:keyIcon="@drawable/sym_keyboard_num2_holo" />
|
|
<key-style
|
|
latin:styleName="num3KeyStyle"
|
|
latin:code="51"
|
|
latin:keyIcon="@drawable/sym_keyboard_num3_holo" />
|
|
<key-style
|
|
latin:styleName="num4KeyStyle"
|
|
latin:code="52"
|
|
latin:keyIcon="@drawable/sym_keyboard_num4_holo" />
|
|
<key-style
|
|
latin:styleName="num5KeyStyle"
|
|
latin:code="53"
|
|
latin:keyIcon="@drawable/sym_keyboard_num5_holo" />
|
|
<key-style
|
|
latin:styleName="num6KeyStyle"
|
|
latin:code="54"
|
|
latin:keyIcon="@drawable/sym_keyboard_num6_holo" />
|
|
<key-style
|
|
latin:styleName="num7KeyStyle"
|
|
latin:code="55"
|
|
latin:keyIcon="@drawable/sym_keyboard_num7_holo" />
|
|
<key-style
|
|
latin:styleName="num8KeyStyle"
|
|
latin:code="56"
|
|
latin:keyIcon="@drawable/sym_keyboard_num8_holo" />
|
|
<key-style
|
|
latin:styleName="num9KeyStyle"
|
|
latin:code="57"
|
|
latin:keyIcon="@drawable/sym_keyboard_num9_holo" />
|
|
<key-style
|
|
latin:styleName="numStarKeyStyle"
|
|
latin:code="42"
|
|
latin:keyIcon="@drawable/sym_keyboard_numbstar_holo" />
|
|
<key-style
|
|
latin:styleName="numPoundKeyStyle"
|
|
latin:code="35"
|
|
latin:keyIcon="@drawable/sym_keyboard_numbpound_holo" />
|
|
<key-style
|
|
latin:styleName="numAltKeyStyle"
|
|
latin:code="@integer/key_switch_alpha_symbol"
|
|
latin:keyIcon="@drawable/sym_keyboard_numalt"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_numalt" />
|
|
<key-style
|
|
latin:styleName="numSpaceKeyStyle"
|
|
latin:code="@integer/key_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
|
</case>
|
|
<case
|
|
latin:colorScheme="black"
|
|
>
|
|
<key-style
|
|
latin:styleName="num0KeyStyle"
|
|
latin:code="48"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num0" />
|
|
<key-style
|
|
latin:styleName="num1KeyStyle"
|
|
latin:code="49"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num1" />
|
|
<key-style
|
|
latin:styleName="num2KeyStyle"
|
|
latin:code="50"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num2" />
|
|
<key-style
|
|
latin:styleName="num3KeyStyle"
|
|
latin:code="51"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num3" />
|
|
<key-style
|
|
latin:styleName="num4KeyStyle"
|
|
latin:code="52"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num4" />
|
|
<key-style
|
|
latin:styleName="num5KeyStyle"
|
|
latin:code="53"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num5" />
|
|
<key-style
|
|
latin:styleName="num6KeyStyle"
|
|
latin:code="54"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num6" />
|
|
<key-style
|
|
latin:styleName="num7KeyStyle"
|
|
latin:code="55"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num7" />
|
|
<key-style
|
|
latin:styleName="num8KeyStyle"
|
|
latin:code="56"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num8" />
|
|
<key-style
|
|
latin:styleName="num9KeyStyle"
|
|
latin:code="57"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_num9" />
|
|
<key-style
|
|
latin:styleName="numStarKeyStyle"
|
|
latin:code="42"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_numstar" />
|
|
<key-style
|
|
latin:styleName="numPoundKeyStyle"
|
|
latin:code="35"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_numpound" />
|
|
<key-style
|
|
latin:styleName="numAltKeyStyle"
|
|
latin:code="@integer/key_switch_alpha_symbol"
|
|
latin:keyIcon="@drawable/sym_bkeyboard_numalt"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_numalt" />
|
|
<key-style
|
|
latin:styleName="numSpaceKeyStyle"
|
|
latin:code="@integer/key_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
|
</case>
|
|
</switch>
|
|
</merge>
|