0d22fc4532
Unfortunately current Master seems have bugs in resource selection. The xml-en/kbd_qwerty.xml is added to avoide those issue as work around, and must be removed if the issue is fixed. Bug: 4442045 Change-Id: Ic43d66e8669fb63e2c3f0b8b9aae9178ca3c32b5
150 lines
5.9 KiB
XML
150 lines
5.9 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"
|
|
>
|
|
<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:keyIcon="@drawable/sym_keyboard_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:keyIcon="@drawable/sym_bkeyboard_space"
|
|
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
|
</case>
|
|
</switch>
|
|
</merge>
|