Merge "Import 7 inch keyboard from Honeycomb-MR2"
This commit is contained in:
commit
212ee95dbd
26 changed files with 2642 additions and 0 deletions
39
java/res/values-sw600dp-land/dimens.xml
Normal file
39
java/res/values-sw600dp-land/dimens.xml
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
||||
<dimen name="keyboardHeight">45.0mm</dimen>
|
||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
||||
<dimen name="key_bottom_gap">1.3mm</dimen>
|
||||
<dimen name="key_horizontal_gap">1.3mm</dimen>
|
||||
<dimen name="popup_key_height">13.0mm</dimen>
|
||||
<dimen name="keyboard_top_padding">1.1mm</dimen>
|
||||
<dimen name="keyboard_bottom_padding">0.0mm</dimen>
|
||||
<!-- key_height x 1.0 -->
|
||||
<dimen name="key_preview_height">13.0mm</dimen>
|
||||
|
||||
<dimen name="key_letter_size">25dip</dimen>
|
||||
<dimen name="key_label_text_size">18dip</dimen>
|
||||
<!-- left or right padding of label alignment -->
|
||||
<dimen name="key_label_horizontal_alignment_padding">18dip</dimen>
|
||||
<dimen name="candidate_strip_padding">40.0mm</dimen>
|
||||
</resources>
|
45
java/res/values-sw600dp/config.xml
Normal file
45
java/res/values-sw600dp/config.xml
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<bool name="config_enable_show_settings_key_option">true</bool>
|
||||
<bool name="config_enable_show_subtype_settings">false</bool>
|
||||
<bool name="config_enable_show_voice_key_option">false</bool>
|
||||
<bool name="config_enable_show_popup_on_keypress_option">false</bool>
|
||||
<bool name="config_enable_show_recorrection_option">false</bool>
|
||||
<bool name="config_enable_quick_fixes_option">false</bool>
|
||||
<bool name="config_enable_bigram_suggestions_option">false</bool>
|
||||
<bool name="config_candidate_highlight_font_color_enabled">false</bool>
|
||||
<bool name="config_swipe_down_dismiss_keyboard_enabled">false</bool>
|
||||
<bool name="config_sliding_key_input_enabled">false</bool>
|
||||
<bool name="config_digit_popup_characters_enabled">false</bool>
|
||||
<!-- Whether or not Popup on key press is enabled by default -->
|
||||
<bool name="config_default_popup_preview">false</bool>
|
||||
<bool name="config_default_sound_enabled">true</bool>
|
||||
<bool name="config_use_spacebar_language_switcher">false</bool>
|
||||
<!-- Showing mini keyboard, just above the touched point if true, aligned to the key if false -->
|
||||
<bool name="config_show_mini_keyboard_at_touched_point">true</bool>
|
||||
<!-- The language is never displayed if == 0, always displayed if < 0 -->
|
||||
<integer name="config_delay_before_fadeout_language_on_spacebar">1200</integer>
|
||||
<!-- This configuration is the index of the array {@link KeyboardSwitcher.KEYBOARD_THEMES}. -->
|
||||
<string name="config_default_keyboard_theme_id" translatable="false">5</string>
|
||||
<string name="config_text_size_of_language_on_spacebar" translatable="false">medium</string>
|
||||
<integer name="config_max_popup_keyboard_column">5</integer>
|
||||
</resources>
|
53
java/res/values-sw600dp/dimens.xml
Normal file
53
java/res/values-sw600dp/dimens.xml
Normal file
|
@ -0,0 +1,53 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- keyboardHeight = key_height*4 + key_bottom_gap*3 -->
|
||||
<dimen name="keyboardHeight">48.0mm</dimen>
|
||||
<fraction name="maxKeyboardHeight">50%p</fraction>
|
||||
<fraction name="minKeyboardHeight">-61.8%p</fraction>
|
||||
<!-- key_height + key_bottom_gap = popup_key_height -->
|
||||
<!-- <dimen name="key_height">14.5mm</dimen> -->
|
||||
<dimen name="key_bottom_gap">1.0mm</dimen>
|
||||
<dimen name="key_horizontal_gap">1.0mm</dimen>
|
||||
<dimen name="popup_key_height">10.0mm</dimen>
|
||||
<dimen name="keyboard_top_padding">1.1mm</dimen>
|
||||
<dimen name="keyboard_bottom_padding">0.0mm</dimen>
|
||||
<!-- key_height x 1.0 -->
|
||||
<dimen name="key_preview_height">13.0mm</dimen>
|
||||
<dimen name="mini_keyboard_key_horizontal_padding">12dip</dimen>
|
||||
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
|
||||
<!-- popup_key_height x 1.2 -->
|
||||
<dimen name="mini_keyboard_slide_allowance">15.6mm</dimen>
|
||||
<!-- popup_key_height x -1.0 -->
|
||||
<dimen name="mini_keyboard_vertical_correction">-13.0mm</dimen>
|
||||
|
||||
<fraction name="key_letter_ratio">45%</fraction>
|
||||
<fraction name="key_label_text_ratio">29%</fraction>
|
||||
<fraction name="key_preview_text_ratio">82%</fraction>
|
||||
<!-- left or right padding of label alignment -->
|
||||
<dimen name="key_label_horizontal_alignment_padding">6dip</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">46dip</dimen>
|
||||
<dimen name="candidate_strip_padding">15.0mm</dimen>
|
||||
<dimen name="candidate_min_width">0.3in</dimen>
|
||||
<dimen name="candidate_padding">12dip</dimen>
|
||||
<dimen name="candidate_text_size">22dip</dimen>
|
||||
</resources>
|
23
java/res/values-sw600dp/donottranslate.xml
Normal file
23
java/res/values-sw600dp/donottranslate.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Default value of the visibility of the suggestion strip -->
|
||||
<string name="prefs_suggestion_visibility_default_value" translatable="false">1</string>
|
||||
</resources>
|
37
java/res/xml-en/kbd_qwerty.xml
Normal file
37
java/res/xml-en/kbd_qwerty.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- TODO: This is work around to avoid resource selection issue. This file must be removed when the
|
||||
issue is sorted out. -->
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="@fraction/maxKeyboardHeight"
|
||||
latin:minKeyboardHeight="@fraction/minKeyboardHeight"
|
||||
latin:rowHeight="25%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
latin:keyboardLocale="en,en_US,en_GB"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_rows" />
|
||||
</Keyboard>
|
27
java/res/xml-sw600dp-land/kbd_popup_template.xml
Normal file
27
java/res/xml-sw600dp-land/kbd_popup_template.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyWidth="5%p"
|
||||
latin:horizontalGap="0px"
|
||||
latin:verticalGap="0px"
|
||||
latin:rowHeight="@dimen/popup_key_height"
|
||||
>
|
||||
</Keyboard>
|
157
java/res/xml-sw600dp/kbd_azerty_rows.xml
Normal file
157
java/res/xml-sw600dp/kbd_azerty_rows.xml
Normal file
|
@ -0,0 +1,157 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="a"
|
||||
latin:popupCharacters="@string/alternates_for_a"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="z"
|
||||
latin:popupCharacters="@string/alternates_for_z" />
|
||||
<Key
|
||||
latin:keyLabel="e"
|
||||
latin:popupCharacters="@string/alternates_for_e" />
|
||||
<Key
|
||||
latin:keyLabel="r"
|
||||
latin:popupCharacters="@string/alternates_for_r" />
|
||||
<Key
|
||||
latin:keyLabel="t"
|
||||
latin:popupCharacters="@string/alternates_for_t" />
|
||||
<Key
|
||||
latin:keyLabel="y"
|
||||
latin:popupCharacters="@string/alternates_for_y" />
|
||||
<Key
|
||||
latin:keyLabel="u"
|
||||
latin:popupCharacters="@string/alternates_for_u" />
|
||||
<Key
|
||||
latin:keyLabel="i"
|
||||
latin:popupCharacters="@string/alternates_for_i" />
|
||||
<Key
|
||||
latin:keyLabel="o"
|
||||
latin:popupCharacters="@string/alternates_for_o" />
|
||||
<Key
|
||||
latin:keyLabel="p"
|
||||
latin:popupCharacters="@string/alternates_for_p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="q"
|
||||
latin:popupCharacters="@string/alternates_for_q"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="s"
|
||||
latin:popupCharacters="@string/alternates_for_s" />
|
||||
<Key
|
||||
latin:keyLabel="d"
|
||||
latin:popupCharacters="@string/alternates_for_d" />
|
||||
<Key
|
||||
latin:keyLabel="f" />
|
||||
<Key
|
||||
latin:keyLabel="g"
|
||||
latin:popupCharacters="@string/alternates_for_g" />
|
||||
<Key
|
||||
latin:keyLabel="h" />
|
||||
<Key
|
||||
latin:keyLabel="j" />
|
||||
<Key
|
||||
latin:keyLabel="k"
|
||||
latin:popupCharacters="@string/alternates_for_k" />
|
||||
<Key
|
||||
latin:keyLabel="l"
|
||||
latin:popupCharacters="@string/alternates_for_l" />
|
||||
<Key
|
||||
latin:keyLabel="m" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="w"
|
||||
latin:popupCharacters="@string/alternates_for_w" />
|
||||
<Key
|
||||
latin:keyLabel="x" />
|
||||
<Key
|
||||
latin:keyLabel="c"
|
||||
latin:popupCharacters="@string/alternates_for_c" />
|
||||
<Key
|
||||
latin:keyLabel="v"
|
||||
latin:popupCharacters="@string/alternates_for_v" />
|
||||
<Key
|
||||
latin:keyLabel="b" />
|
||||
<Key
|
||||
latin:keyLabel="n"
|
||||
latin:popupCharacters="@string/alternates_for_n" />
|
||||
<Key
|
||||
latin:keyLabel="\'" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:manualTemporaryUpperCaseCode="33"
|
||||
latin:keyHintIcon="@drawable/key_hint_exclamation_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_exclamation_large_holo"
|
||||
latin:popupCharacters="!" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:manualTemporaryUpperCaseCode="63"
|
||||
latin:keyHintIcon="@drawable/key_hint_question_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_question_large_holo"
|
||||
latin:popupCharacters="\?" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_row3_right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
214
java/res/xml-sw600dp/kbd_key_styles.xml
Normal file
214
java/res/xml-sw600dp/kbd_key_styles.xml
Normal file
|
@ -0,0 +1,214 @@
|
|||
<?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"
|
||||
>
|
||||
<!-- Base key style for the functional key -->
|
||||
<switch>
|
||||
<case
|
||||
latin:colorScheme="white"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="functionalKeyStyle"
|
||||
latin:isFunctional="true" />
|
||||
</case>
|
||||
<case
|
||||
latin:colorScheme="black"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="functionalKeyStyle" />
|
||||
</case>
|
||||
</switch>
|
||||
<!-- Functional key styles -->
|
||||
<switch>
|
||||
<case
|
||||
latin:colorScheme="white"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="shiftKeyStyle"
|
||||
latin:code="@integer/key_shift"
|
||||
latin:keyIcon="@drawable/sym_keyboard_shift_holo"
|
||||
latin:shiftedIcon="@drawable/sym_keyboard_shift_locked_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_shift"
|
||||
latin:parentStyle="functionalKeyStyle"
|
||||
latin:isSticky="true" />
|
||||
<key-style
|
||||
latin:styleName="deleteKeyStyle"
|
||||
latin:code="@integer/key_delete"
|
||||
latin:keyIcon="@drawable/sym_keyboard_delete_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_delete"
|
||||
latin:parentStyle="functionalKeyStyle"
|
||||
latin:isRepeatable="true" />
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:code="@integer/key_return"
|
||||
latin:keyIcon="@drawable/sym_keyboard_return_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
<key-style
|
||||
latin:styleName="spaceKeyStyle"
|
||||
latin:code="@integer/key_space"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
||||
<key-style
|
||||
latin:styleName="nonSpecialBackgroundSpaceKeyStyle"
|
||||
latin:code="@integer/key_space"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
||||
<key-style
|
||||
latin:styleName="smileyKeyStyle"
|
||||
latin:keyLabel=":-)"
|
||||
latin:keyOutputText=":-) "
|
||||
latin:keyHintIcon="@drawable/hint_popup_holo"
|
||||
latin:popupCharacters="@string/alternates_for_smiley"
|
||||
latin:maxPopupKeyboardColumn="5" />
|
||||
<switch>
|
||||
<case
|
||||
latin:voiceKeyEnabled="true"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="micOrSettingsKeyStyle"
|
||||
latin:code="@integer/key_shortcut"
|
||||
latin:keyIcon="@drawable/sym_keyboard_voice_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_mic"
|
||||
latin:keyHintIcon="@drawable/hint_popup_holo"
|
||||
latin:popupCharacters="\@drawable/sym_keyboard_settings|\@integer/key_settings"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<key-style
|
||||
latin:styleName="micOrSettingsKeyStyle"
|
||||
latin:code="@integer/key_settings"
|
||||
latin:keyIcon="@drawable/sym_keyboard_settings_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
</default>
|
||||
</switch>
|
||||
</case>
|
||||
<case
|
||||
latin:colorScheme="black"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="shiftKeyStyle"
|
||||
latin:code="@integer/key_shift"
|
||||
latin:keyIcon="@drawable/sym_bkeyboard_shift"
|
||||
latin:shiftedIcon="@drawable/sym_bkeyboard_shift_locked"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_shift"
|
||||
latin:parentStyle="functionalKeyStyle"
|
||||
latin:isSticky="true" />
|
||||
<key-style
|
||||
latin:styleName="deleteKeyStyle"
|
||||
latin:code="@integer/key_delete"
|
||||
latin:keyIcon="@drawable/sym_bkeyboard_delete"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_delete"
|
||||
latin:parentStyle="functionalKeyStyle"
|
||||
latin:isRepeatable="true" />
|
||||
<key-style
|
||||
latin:styleName="returnKeyStyle"
|
||||
latin:code="@integer/key_return"
|
||||
latin:keyIcon="@drawable/sym_bkeyboard_return"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_return"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
<key-style
|
||||
latin:styleName="spaceKeyStyle"
|
||||
latin:code="@integer/key_space"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
||||
<key-style
|
||||
latin:styleName="nonSpecialBackgroundSpaceKeyStyle"
|
||||
latin:code="@integer/key_space"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_space" />
|
||||
<key-style
|
||||
latin:styleName="smileyKeyStyle"
|
||||
latin:keyLabel=":-)"
|
||||
latin:keyOutputText=":-) "
|
||||
latin:keyHintIcon="@drawable/hint_popup_holo"
|
||||
latin:popupCharacters="@string/alternates_for_smiley"
|
||||
latin:maxPopupKeyboardColumn="5" />
|
||||
<switch>
|
||||
<case
|
||||
latin:voiceKeyEnabled="true"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="micOrSettingsKeyStyle"
|
||||
latin:code="@integer/key_shortcut"
|
||||
latin:keyIcon="@drawable/sym_bkeyboard_mic"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_mic"
|
||||
latin:keyHintIcon="@drawable/hint_popup_holo"
|
||||
latin:popupCharacters="\@drawable/sym_keyboard_settings|\@integer/key_settings"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<key-style
|
||||
latin:styleName="micOrSettingsKeyStyle"
|
||||
latin:code="@integer/key_settings"
|
||||
latin:keyIcon="@drawable/sym_bkeyboard_settings"
|
||||
latin:iconPreview="@drawable/sym_keyboard_feedback_settings"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
</default>
|
||||
</switch>
|
||||
</case>
|
||||
</switch>
|
||||
<key-style
|
||||
latin:styleName="tabKeyStyle"
|
||||
latin:code="@integer/key_tab"
|
||||
latin:keyIcon="@drawable/sym_keyboard_tab_holo"
|
||||
latin:iconPreview="@drawable/sym_keyboard_tab_holo"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
<key-style
|
||||
latin:styleName="toSymbolKeyStyle"
|
||||
latin:code="@integer/key_switch_alpha_symbol"
|
||||
latin:keyLabel="@string/label_to_symbol_key"
|
||||
latin:keyLabelOption="fontNormal"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
<key-style
|
||||
latin:styleName="toAlphaKeyStyle"
|
||||
latin:code="@integer/key_switch_alpha_symbol"
|
||||
latin:keyLabel="@string/label_to_alpha_key"
|
||||
latin:keyLabelOption="fontNormal"
|
||||
latin:parentStyle="functionalKeyStyle" />
|
||||
<key-style
|
||||
latin:styleName="moreKeyStyle"
|
||||
latin:code="@integer/key_shift"
|
||||
latin:keyLabel="@string/label_more_key"
|
||||
latin:keyLabelOption="fontNormal"
|
||||
latin:parentStyle="functionalKeyStyle"
|
||||
latin:isSticky="true" />
|
||||
<key-style
|
||||
latin:styleName="comKeyStyle"
|
||||
latin:keyLabel="@string/keylabel_for_popular_domain"
|
||||
latin:keyLabelOption="fontNormal"
|
||||
latin:keyOutputText="@string/keylabel_for_popular_domain"
|
||||
latin:keyHintIcon="@drawable/hint_popup_holo"
|
||||
latin:popupCharacters="@string/alternates_for_popular_domain" />
|
||||
<switch>
|
||||
<case
|
||||
latin:passwordInput="true"
|
||||
>
|
||||
<key-style
|
||||
latin:styleName="nonPasswordSymbolKeyStyle"
|
||||
latin:enabled="false" />
|
||||
</case>
|
||||
<!-- latin:passwordInput="false" -->
|
||||
<default>
|
||||
<key-style
|
||||
latin:styleName="nonPasswordSymbolKeyStyle"
|
||||
latin:enabled="true" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
193
java/res/xml-sw600dp/kbd_number.xml
Normal file
193
java/res/xml-sw600dp/kbd_number.xml
Normal file
|
@ -0,0 +1,193 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:keyWidth="16.75%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_numkey_styles" />
|
||||
<switch>
|
||||
<case
|
||||
latin:passwordInput="true"
|
||||
>
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="num1KeyStyle"
|
||||
latin:keyXPos="24.875%p" />
|
||||
<Key
|
||||
latin:keyStyle="num2KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num3KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillRight"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="num4KeyStyle"
|
||||
latin:keyXPos="24.875%p" />
|
||||
<Key
|
||||
latin:keyStyle="num5KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num6KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillRight"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="num7KeyStyle"
|
||||
latin:keyXPos="24.875%p" />
|
||||
<Key
|
||||
latin:keyStyle="num8KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num9KeyStyle" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyWidth="11.00%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Spacer
|
||||
latin:keyXPos="24.875%p" />
|
||||
<Key
|
||||
latin:keyStyle="num0KeyStyle" />
|
||||
<Spacer />
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillRight"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</case>
|
||||
<!-- latin:passwordInput="false" -->
|
||||
<default>
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:keyXPos="11.00%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="+"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="1"
|
||||
latin:keyXPos="38.75%p" />
|
||||
<Key
|
||||
latin:keyLabel="2" />
|
||||
<Key
|
||||
latin:keyLabel="3" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyLabel="*"
|
||||
latin:keyXPos="11.00%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="4"
|
||||
latin:keyXPos="38.75%p" />
|
||||
<Key
|
||||
latin:keyLabel="5" />
|
||||
<Key
|
||||
latin:keyLabel="6" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<!-- There is an empty area below the "More" key and left of the "(" key. To
|
||||
ignore the touch event on the area, "(" is intentionally not marked as a left
|
||||
edge key. -->
|
||||
<Key
|
||||
latin:keyLabel="("
|
||||
latin:keyXPos="11.00%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel=")"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="="
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyLabel="7"
|
||||
latin:keyXPos="38.75%p" />
|
||||
<Key
|
||||
latin:keyLabel="8" />
|
||||
<Key
|
||||
latin:keyLabel="9" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyWidth="11.00%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
||||
latin:keyWidth="27.75%p" />
|
||||
<Key
|
||||
latin:keyLabel="*"
|
||||
latin:keyXPos="38.75%p" />
|
||||
<Key
|
||||
latin:keyLabel="0" />
|
||||
<Key
|
||||
latin:keyLabel="#" />
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</default>
|
||||
</switch>
|
||||
</Keyboard>
|
150
java/res/xml-sw600dp/kbd_numkey_styles.xml
Normal file
150
java/res/xml-sw600dp/kbd_numkey_styles.xml
Normal file
|
@ -0,0 +1,150 @@
|
|||
<?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>
|
130
java/res/xml-sw600dp/kbd_phone.xml
Normal file
130
java/res/xml-sw600dp/kbd_phone.xml
Normal file
|
@ -0,0 +1,130 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:keyWidth="16.75%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_numkey_styles" />
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:code="45"
|
||||
latin:keyLabel=" - "
|
||||
latin:keyXPos="15.625%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="43"
|
||||
latin:keyLabel=" + "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num1KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num2KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num3KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:code="44"
|
||||
latin:keyLabel=" , "
|
||||
latin:keyXPos="15.625%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="46"
|
||||
latin:keyLabel=" . "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num4KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num5KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num6KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="moreKeyStyle"
|
||||
latin:keyWidth="11.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore
|
||||
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
|
||||
<Key
|
||||
latin:code="40"
|
||||
latin:keyLabel=" ( "
|
||||
latin:keyXPos="15.625%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="41"
|
||||
latin:keyLabel=" ) "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num7KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num8KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num9KeyStyle" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyWidth="11.00%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
||||
latin:keyXPos="15.625%p"
|
||||
latin:keyWidth="18.67%p" />
|
||||
<Key
|
||||
latin:keyStyle="numStarKeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num0KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="numPoundKeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</Keyboard>
|
140
java/res/xml-sw600dp/kbd_phone_symbols.xml
Normal file
140
java/res/xml-sw600dp/kbd_phone_symbols.xml
Normal file
|
@ -0,0 +1,140 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:keyWidth="16.75%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_numkey_styles" />
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:code="45"
|
||||
latin:keyLabel=" - "
|
||||
latin:keyXPos="11.00%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="43"
|
||||
latin:keyLabel=" + "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="44"
|
||||
latin:keyLabel="@string/label_pause_key"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num1KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num2KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num3KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:code="44"
|
||||
latin:keyLabel=" , "
|
||||
latin:keyXPos="11.00%p"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="46"
|
||||
latin:keyLabel=" . "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="59"
|
||||
latin:keyLabel="@string/label_wait_key"
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num4KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num5KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num6KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="moreKeyStyle"
|
||||
latin:keyWidth="11.00%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<!-- There is an empty area below the "More" key and left of the "(" key. To ignore
|
||||
the touch event on the area, "(" is intentionally not marked as a left edge key. -->
|
||||
<Key
|
||||
latin:code="40"
|
||||
latin:keyLabel=" ( "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="41"
|
||||
latin:keyLabel=" ) "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:code="78"
|
||||
latin:keyLabel=" N "
|
||||
latin:keyWidth="9.25%p" />
|
||||
<Key
|
||||
latin:keyStyle="num7KeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num8KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="num9KeyStyle" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row>
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle"
|
||||
latin:keyWidth="11.00%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="nonSpecialBackgroundSpaceKeyStyle"
|
||||
latin:keyWidth="27.75%p" />
|
||||
<Key
|
||||
latin:keyStyle="numStarKeyStyle"
|
||||
latin:keyXPos="38.867%p" />
|
||||
<Key
|
||||
latin:keyStyle="num0KeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="numPoundKeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-11.00%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</Keyboard>
|
27
java/res/xml-sw600dp/kbd_popup_template.xml
Normal file
27
java/res/xml-sw600dp/kbd_popup_template.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyWidth="8%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="0px"
|
||||
latin:rowHeight="@dimen/popup_key_height"
|
||||
>
|
||||
</Keyboard>
|
34
java/res/xml-sw600dp/kbd_qwerty.xml
Normal file
34
java/res/xml-sw600dp/kbd_qwerty.xml
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:keyWidth="10%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_rows" />
|
||||
</Keyboard>
|
65
java/res/xml-sw600dp/kbd_qwerty_row1.xml
Normal file
65
java/res/xml-sw600dp/kbd_qwerty_row1.xml
Normal file
|
@ -0,0 +1,65 @@
|
|||
<?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"
|
||||
>
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="q"
|
||||
latin:popupCharacters="@string/alternates_for_q"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="w"
|
||||
latin:popupCharacters="@string/alternates_for_w" />
|
||||
<Key
|
||||
latin:keyLabel="e"
|
||||
latin:popupCharacters="@string/alternates_for_e" />
|
||||
<Key
|
||||
latin:keyLabel="r"
|
||||
latin:popupCharacters="@string/alternates_for_r" />
|
||||
<Key
|
||||
latin:keyLabel="t"
|
||||
latin:popupCharacters="@string/alternates_for_t" />
|
||||
<Key
|
||||
latin:keyLabel="y"
|
||||
latin:popupCharacters="@string/alternates_for_y" />
|
||||
<Key
|
||||
latin:keyLabel="u"
|
||||
latin:popupCharacters="@string/alternates_for_u" />
|
||||
<Key
|
||||
latin:keyLabel="i"
|
||||
latin:popupCharacters="@string/alternates_for_i" />
|
||||
<Key
|
||||
latin:keyLabel="o"
|
||||
latin:popupCharacters="@string/alternates_for_o" />
|
||||
<Key
|
||||
latin:keyLabel="p"
|
||||
latin:popupCharacters="@string/alternates_for_p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</merge>
|
59
java/res/xml-sw600dp/kbd_qwerty_row2.xml
Normal file
59
java/res/xml-sw600dp/kbd_qwerty_row2.xml
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?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"
|
||||
>
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="a"
|
||||
latin:popupCharacters="@string/alternates_for_a"
|
||||
latin:keyXPos="4.5%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="s"
|
||||
latin:popupCharacters="@string/alternates_for_s" />
|
||||
<Key
|
||||
latin:keyLabel="d"
|
||||
latin:popupCharacters="@string/alternates_for_d" />
|
||||
<Key
|
||||
latin:keyLabel="f" />
|
||||
<Key
|
||||
latin:keyLabel="g"
|
||||
latin:popupCharacters="@string/alternates_for_g" />
|
||||
<Key
|
||||
latin:keyLabel="h" />
|
||||
<Key
|
||||
latin:keyLabel="j" />
|
||||
<Key
|
||||
latin:keyLabel="k"
|
||||
latin:popupCharacters="@string/alternates_for_k" />
|
||||
<Key
|
||||
latin:keyLabel="l"
|
||||
latin:popupCharacters="@string/alternates_for_l" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</merge>
|
76
java/res/xml-sw600dp/kbd_qwerty_row3.xml
Normal file
76
java/res/xml-sw600dp/kbd_qwerty_row3.xml
Normal file
|
@ -0,0 +1,76 @@
|
|||
<?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"
|
||||
>
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="z"
|
||||
latin:popupCharacters="@string/alternates_for_z" />
|
||||
<Key
|
||||
latin:keyLabel="x" />
|
||||
<Key
|
||||
latin:keyLabel="c"
|
||||
latin:popupCharacters="@string/alternates_for_c" />
|
||||
<Key
|
||||
latin:keyLabel="v"
|
||||
latin:popupCharacters="@string/alternates_for_v" />
|
||||
<Key
|
||||
latin:keyLabel="b" />
|
||||
<Key
|
||||
latin:keyLabel="n"
|
||||
latin:popupCharacters="@string/alternates_for_n" />
|
||||
<Key
|
||||
latin:keyLabel="m" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:manualTemporaryUpperCaseCode="33"
|
||||
latin:keyHintIcon="@drawable/key_hint_exclamation_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_exclamation_large_holo"
|
||||
latin:popupCharacters="!" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:manualTemporaryUpperCaseCode="63"
|
||||
latin:keyHintIcon="@drawable/key_hint_question_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_question_large_holo"
|
||||
latin:popupCharacters="\?" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_row3_right" />
|
||||
</Row>
|
||||
</merge>
|
170
java/res/xml-sw600dp/kbd_qwerty_row4.xml
Normal file
170
java/res/xml-sw600dp/kbd_qwerty_row4.xml
Normal file
|
@ -0,0 +1,170 @@
|
|||
<?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"
|
||||
>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toSymbolKeyStyle"
|
||||
latin:keyLabelOption="alignLeft"
|
||||
latin:keyWidth="13.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="comKeyStyle" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="comKeyStyle" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:manualTemporaryUpperCaseCode="64"
|
||||
latin:keyHintIcon="@drawable/key_hint_at_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_at_large_holo"
|
||||
latin:popupCharacters="\@" />
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyStyle="spaceKeyStyle"
|
||||
latin:keyXPos="30.750%p"
|
||||
latin:keyWidth="39.750%p" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="ru"
|
||||
>
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:manualTemporaryUpperCaseCode="58"
|
||||
latin:keyHintIcon="@drawable/key_hint_colon_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_colon_large_holo"
|
||||
latin:popupCharacters=":"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="\?"
|
||||
latin:manualTemporaryUpperCaseCode="95"
|
||||
latin:keyHintIcon="@drawable/key_hint_underline_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_underline_large_holo"
|
||||
latin:popupCharacters="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</default>
|
||||
</switch>
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="!"
|
||||
latin:manualTemporaryUpperCaseCode="39"
|
||||
latin:keyHintIcon="@drawable/key_hint_quote_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_quote_large_holo"
|
||||
latin:popupCharacters="\'"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</default>
|
||||
</switch>
|
||||
</case>
|
||||
<!-- not languageCode="ru" -->
|
||||
<default>
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:manualTemporaryUpperCaseCode="58"
|
||||
latin:keyHintIcon="@drawable/key_hint_colon_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_colon_large_holo"
|
||||
latin:popupCharacters=":"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="\'"
|
||||
latin:manualTemporaryUpperCaseCode="34"
|
||||
latin:keyHintIcon="@drawable/key_hint_quote_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_quote_large_holo"
|
||||
latin:popupCharacters="""
|
||||
latin:keyWidth="9.750%p" />
|
||||
</default>
|
||||
</switch>
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:manualTemporaryUpperCaseCode="95"
|
||||
latin:keyHintIcon="@drawable/key_hint_underline_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_underline_large_holo"
|
||||
latin:popupCharacters="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</default>
|
||||
</switch>
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</merge>
|
34
java/res/xml-sw600dp/kbd_qwerty_rows.xml
Normal file
34
java/res/xml-sw600dp/kbd_qwerty_rows.xml
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row1" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row2" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row3" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
114
java/res/xml-sw600dp/kbd_qwerty_rows_scandinavia.xml
Normal file
114
java/res/xml-sw600dp/kbd_qwerty_rows_scandinavia.xml
Normal file
|
@ -0,0 +1,114 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="q"
|
||||
latin:popupCharacters="@string/alternates_for_q"
|
||||
latin:keyXPos="2.15%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="w"
|
||||
latin:popupCharacters="@string/alternates_for_w" />
|
||||
<Key
|
||||
latin:keyLabel="e"
|
||||
latin:popupCharacters="@string/alternates_for_e" />
|
||||
<Key
|
||||
latin:keyLabel="r"
|
||||
latin:popupCharacters="@string/alternates_for_r" />
|
||||
<Key
|
||||
latin:keyLabel="t"
|
||||
latin:popupCharacters="@string/alternates_for_t" />
|
||||
<Key
|
||||
latin:keyLabel="y"
|
||||
latin:popupCharacters="@string/alternates_for_y" />
|
||||
<Key
|
||||
latin:keyLabel="u"
|
||||
latin:popupCharacters="@string/alternates_for_u" />
|
||||
<Key
|
||||
latin:keyLabel="i"
|
||||
latin:popupCharacters="@string/alternates_for_i" />
|
||||
<Key
|
||||
latin:keyLabel="o"
|
||||
latin:popupCharacters="@string/alternates_for_o" />
|
||||
<Key
|
||||
latin:keyLabel="p"
|
||||
latin:popupCharacters="@string/alternates_for_p" />
|
||||
<Key
|
||||
latin:keyLabel="å" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="a"
|
||||
latin:popupCharacters="@string/alternates_for_a"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="s"
|
||||
latin:popupCharacters="@string/alternates_for_s" />
|
||||
<Key
|
||||
latin:keyLabel="d"
|
||||
latin:popupCharacters="@string/alternates_for_d" />
|
||||
<Key
|
||||
latin:keyLabel="f" />
|
||||
<Key
|
||||
latin:keyLabel="g"
|
||||
latin:popupCharacters="@string/alternates_for_g" />
|
||||
<Key
|
||||
latin:keyLabel="h" />
|
||||
<Key
|
||||
latin:keyLabel="j" />
|
||||
<Key
|
||||
latin:keyLabel="k"
|
||||
latin:popupCharacters="@string/alternates_for_k" />
|
||||
<Key
|
||||
latin:keyLabel="l"
|
||||
latin:popupCharacters="@string/alternates_for_l" />
|
||||
<Key
|
||||
latin:keyLabel="@string/keylabel_for_scandinavia_row2_10"
|
||||
latin:popupCharacters="@string/alternates_for_scandinavia_row2_10" />
|
||||
<Key
|
||||
latin:keyLabel="@string/keylabel_for_scandinavia_row2_11"
|
||||
latin:popupCharacters="@string/alternates_for_scandinavia_row2_11" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row3" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
123
java/res/xml-sw600dp/kbd_qwertz_rows.xml
Normal file
123
java/res/xml-sw600dp/kbd_qwertz_rows.xml
Normal file
|
@ -0,0 +1,123 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="q"
|
||||
latin:popupCharacters="@string/alternates_for_q"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="w"
|
||||
latin:popupCharacters="@string/alternates_for_w" />
|
||||
<Key
|
||||
latin:keyLabel="e"
|
||||
latin:popupCharacters="@string/alternates_for_e" />
|
||||
<Key
|
||||
latin:keyLabel="r"
|
||||
latin:popupCharacters="@string/alternates_for_r" />
|
||||
<Key
|
||||
latin:keyLabel="t"
|
||||
latin:popupCharacters="@string/alternates_for_t" />
|
||||
<Key
|
||||
latin:keyLabel="z"
|
||||
latin:popupCharacters="@string/alternates_for_z" />
|
||||
<Key
|
||||
latin:keyLabel="u"
|
||||
latin:popupCharacters="@string/alternates_for_u" />
|
||||
<Key
|
||||
latin:keyLabel="i"
|
||||
latin:popupCharacters="@string/alternates_for_i" />
|
||||
<Key
|
||||
latin:keyLabel="o"
|
||||
latin:popupCharacters="@string/alternates_for_o" />
|
||||
<Key
|
||||
latin:keyLabel="p"
|
||||
latin:popupCharacters="@string/alternates_for_p" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row2" />
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="y"
|
||||
latin:popupCharacters="@string/alternates_for_y" />
|
||||
<Key
|
||||
latin:keyLabel="x" />
|
||||
<Key
|
||||
latin:keyLabel="c"
|
||||
latin:popupCharacters="@string/alternates_for_c" />
|
||||
<Key
|
||||
latin:keyLabel="v"
|
||||
latin:popupCharacters="@string/alternates_for_v" />
|
||||
<Key
|
||||
latin:keyLabel="b" />
|
||||
<Key
|
||||
latin:keyLabel="n"
|
||||
latin:popupCharacters="@string/alternates_for_n" />
|
||||
<Key
|
||||
latin:keyLabel="m" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:manualTemporaryUpperCaseCode="33"
|
||||
latin:keyHintIcon="@drawable/key_hint_exclamation_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_exclamation_large_holo"
|
||||
latin:popupCharacters="!" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:manualTemporaryUpperCaseCode="63"
|
||||
latin:keyHintIcon="@drawable/key_hint_question_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_question_large_holo"
|
||||
latin:popupCharacters="\?" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_row3_right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
68
java/res/xml-sw600dp/kbd_row3_right.xml
Normal file
68
java/res/xml-sw600dp/kbd_row3_right.xml
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?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:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="\@"
|
||||
latin:keyXPos="-8.9%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:manualTemporaryUpperCaseCode="95"
|
||||
latin:keyHintIcon="@drawable/key_hint_underline_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_underline_large_holo"
|
||||
latin:popupCharacters="_"
|
||||
latin:keyXPos="-8.9%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</case>
|
||||
<case
|
||||
latin:imeAction="actionSearch"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel=":"
|
||||
latin:manualTemporaryUpperCaseCode="43"
|
||||
latin:keyHintIcon="@drawable/key_hint_plus_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_plus_large_holo"
|
||||
latin:popupCharacters="+"
|
||||
latin:keyXPos="-8.9%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyStyle="smileyKeyStyle"
|
||||
latin:keyXPos="-8.9%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</default>
|
||||
</switch>
|
||||
</merge>
|
130
java/res/xml-sw600dp/kbd_ru_rows.xml
Normal file
130
java/res/xml-sw600dp/kbd_ru_rows.xml
Normal file
|
@ -0,0 +1,130 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="й"
|
||||
latin:keyXPos="2.15%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="ц" />
|
||||
<Key
|
||||
latin:keyLabel="у" />
|
||||
<Key
|
||||
latin:keyLabel="к" />
|
||||
<Key
|
||||
latin:keyLabel="е"
|
||||
latin:popupCharacters="@string/alternates_for_cyrillic_e" />
|
||||
<Key
|
||||
latin:keyLabel="н" />
|
||||
<Key
|
||||
latin:keyLabel="г" />
|
||||
<Key
|
||||
latin:keyLabel="ш" />
|
||||
<Key
|
||||
latin:keyLabel="щ" />
|
||||
<Key
|
||||
latin:keyLabel="з" />
|
||||
<Key
|
||||
latin:keyLabel="х" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="ф"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="ы" />
|
||||
<Key
|
||||
latin:keyLabel="в" />
|
||||
<Key
|
||||
latin:keyLabel="а" />
|
||||
<Key
|
||||
latin:keyLabel="п" />
|
||||
<Key
|
||||
latin:keyLabel="р" />
|
||||
<Key
|
||||
latin:keyLabel="о" />
|
||||
<Key
|
||||
latin:keyLabel="л" />
|
||||
<Key
|
||||
latin:keyLabel="д" />
|
||||
<Key
|
||||
latin:keyLabel="ж" />
|
||||
<Key
|
||||
latin:keyLabel="э" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="я" />
|
||||
<Key
|
||||
latin:keyLabel="ч" />
|
||||
<Key
|
||||
latin:keyLabel="с" />
|
||||
<Key
|
||||
latin:keyLabel="м" />
|
||||
<Key
|
||||
latin:keyLabel="и" />
|
||||
<Key
|
||||
latin:keyLabel="т" />
|
||||
<Key
|
||||
latin:keyLabel="ь"
|
||||
latin:popupCharacters="@string/alternates_for_cyrillic_soft_sign" />
|
||||
<Key
|
||||
latin:keyLabel="б" />
|
||||
<Key
|
||||
latin:keyLabel="ю" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:manualTemporaryUpperCaseCode="44"
|
||||
latin:keyHintIcon="@drawable/key_hint_comma_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_comma_large_holo"
|
||||
latin:popupCharacters="," />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_row3_right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
146
java/res/xml-sw600dp/kbd_sr_rows.xml
Normal file
146
java/res/xml-sw600dp/kbd_sr_rows.xml
Normal file
|
@ -0,0 +1,146 @@
|
|||
<?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/kbd_key_styles" />
|
||||
<Row
|
||||
latin:keyWidth="8.0%p"
|
||||
latin:rowEdgeFlags="top"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="љ"
|
||||
latin:keyXPos="2.15%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="њ" />
|
||||
<Key
|
||||
latin:keyLabel="е" />
|
||||
<Key
|
||||
latin:keyLabel="р" />
|
||||
<Key
|
||||
latin:keyLabel="т" />
|
||||
<Key
|
||||
latin:keyLabel="з" />
|
||||
<Key
|
||||
latin:keyLabel="у" />
|
||||
<Key
|
||||
latin:keyLabel="и" />
|
||||
<Key
|
||||
latin:keyLabel="о" />
|
||||
<Key
|
||||
latin:keyLabel="п" />
|
||||
<Key
|
||||
latin:keyLabel="ш" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="а"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="с" />
|
||||
<Key
|
||||
latin:keyLabel="д" />
|
||||
<Key
|
||||
latin:keyLabel="ф" />
|
||||
<Key
|
||||
latin:keyLabel="г" />
|
||||
<Key
|
||||
latin:keyLabel="х" />
|
||||
<Key
|
||||
latin:keyLabel="ј" />
|
||||
<Key
|
||||
latin:keyLabel="к" />
|
||||
<Key
|
||||
latin:keyLabel="л" />
|
||||
<Key
|
||||
latin:keyLabel="ч" />
|
||||
<Key
|
||||
latin:keyLabel="ћ" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="7.5%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="shiftKeyStyle"
|
||||
latin:keyWidth="8.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="ѕ" />
|
||||
<Key
|
||||
latin:keyLabel="џ" />
|
||||
<Key
|
||||
latin:keyLabel="ц" />
|
||||
<Key
|
||||
latin:keyLabel="в" />
|
||||
<Key
|
||||
latin:keyLabel="б" />
|
||||
<Key
|
||||
latin:keyLabel="н" />
|
||||
<Key
|
||||
latin:keyLabel="м" />
|
||||
<Key
|
||||
latin:keyLabel="ђ" />
|
||||
<Key
|
||||
latin:keyLabel="ж" />
|
||||
<switch>
|
||||
<case
|
||||
latin:mode="email"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel=","
|
||||
latin:manualTemporaryUpperCaseCode="33"
|
||||
latin:keyHintIcon="@drawable/key_hint_exclamation_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_exclamation_large_holo"
|
||||
latin:popupCharacters="!" />
|
||||
<Key
|
||||
latin:keyLabel="."
|
||||
latin:manualTemporaryUpperCaseCode="63"
|
||||
latin:keyHintIcon="@drawable/key_hint_question_holo"
|
||||
latin:manualTemporaryUpperCaseHintIcon="@drawable/key_hint_question_large_holo"
|
||||
latin:popupCharacters="\?" />
|
||||
</default>
|
||||
</switch>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_row3_right" />
|
||||
</Row>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_qwerty_row4" />
|
||||
</merge>
|
225
java/res/xml-sw600dp/kbd_symbols.xml
Normal file
225
java/res/xml-sw600dp/kbd_symbols.xml
Normal file
|
@ -0,0 +1,225 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_currency_key_styles" />
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="1"
|
||||
latin:popupCharacters="¹,½,⅓,¼,⅛" />
|
||||
<Key
|
||||
latin:keyLabel="2"
|
||||
latin:popupCharacters="²,⅔" />
|
||||
<Key
|
||||
latin:keyLabel="3"
|
||||
latin:popupCharacters="³,¾,⅜" />
|
||||
<Key
|
||||
latin:keyLabel="4"
|
||||
latin:popupCharacters="⁴" />
|
||||
<Key
|
||||
latin:keyLabel="5"
|
||||
latin:popupCharacters="⅝" />
|
||||
<Key
|
||||
latin:keyLabel="6" />
|
||||
<Key
|
||||
latin:keyLabel="7"
|
||||
latin:popupCharacters="⅞" />
|
||||
<Key
|
||||
latin:keyLabel="8" />
|
||||
<Key
|
||||
latin:keyLabel="9" />
|
||||
<Key
|
||||
latin:keyLabel="0"
|
||||
latin:popupCharacters="ⁿ,∅" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="#"
|
||||
latin:keyXPos="4.5%p" />
|
||||
<Key
|
||||
latin:keyStyle="currencyKeyStyle" />
|
||||
<Key
|
||||
latin:keyLabel="%"
|
||||
latin:popupCharacters="‰" />
|
||||
<Key
|
||||
latin:keyLabel="&" />
|
||||
<Key
|
||||
latin:keyLabel="*"
|
||||
latin:popupCharacters="†,‡,★" />
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:popupCharacters="_,–,—" />
|
||||
<Key
|
||||
latin:keyLabel="+"
|
||||
latin:popupCharacters="±" />
|
||||
<Key
|
||||
latin:keyLabel="("
|
||||
latin:popupCharacters="[,{,<" />
|
||||
<Key
|
||||
latin:keyLabel=")"
|
||||
latin:popupCharacters="],},>" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="moreKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="<"
|
||||
latin:popupCharacters="≤,«,‹" />
|
||||
<Key
|
||||
latin:keyLabel=">"
|
||||
latin:popupCharacters="≥,»,›" />
|
||||
<Key
|
||||
latin:keyLabel="="
|
||||
latin:popupCharacters="≠,≈" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="ru"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel=":" />
|
||||
</case>
|
||||
<case
|
||||
latin:mode="url"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="\'"
|
||||
latin:popupCharacters="‘,’,‚,‛" />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel=":" />
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyLabel=";" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="ru"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="\'"
|
||||
latin:popupCharacters="‘,’,‚,‛" />
|
||||
<!-- Note: DroidSans doesn't have double-high-reversed-quotation
|
||||
'\u201f' glyph. -->
|
||||
<!-- latin:popupCharacters="“,”,„,‟,«,»" -->
|
||||
<Key
|
||||
latin:keyLabel="""
|
||||
latin:popupCharacters="“,”,«,»" />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
</case>
|
||||
<default>
|
||||
<Key
|
||||
latin:keyLabel="," />
|
||||
<Key
|
||||
latin:keyLabel="." />
|
||||
<Key
|
||||
latin:keyLabel="!"
|
||||
latin:popupCharacters="¡" />
|
||||
<Key
|
||||
latin:keyLabel="\?"
|
||||
latin:popupCharacters="¿" />
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyLabel="/"
|
||||
latin:keyWidth="fillRight" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toAlphaKeyStyle"
|
||||
latin:keyLabelOption="alignLeft"
|
||||
latin:keyWidth="13.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle" />
|
||||
<Key
|
||||
latin:keyLabel="\@" />
|
||||
<Key
|
||||
latin:keyStyle="spaceKeyStyle"
|
||||
latin:keyXPos="30.750%p"
|
||||
latin:keyWidth="39.750%p" />
|
||||
<switch>
|
||||
<case
|
||||
latin:languageCode="ru"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
<Key
|
||||
latin:keyLabel="-"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</case>
|
||||
<default>
|
||||
<!-- Note: DroidSans doesn't have double-high-reversed-quotation
|
||||
'\u201f' glyph. -->
|
||||
<!-- latin:popupCharacters="“,”,„,‟,«,»,‘,’,‚,‛" -->
|
||||
<Key
|
||||
latin:keyLabel="""
|
||||
latin:popupCharacters="“,”,«,»,‘,’,‚,‛"
|
||||
latin:keyWidth="9.750%p" />
|
||||
<Key
|
||||
latin:keyLabel="_"
|
||||
latin:keyWidth="9.750%p" />
|
||||
</default>
|
||||
</switch>
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</Keyboard>
|
163
java/res/xml-sw600dp/kbd_symbols_shift.xml
Normal file
163
java/res/xml-sw600dp/kbd_symbols_shift.xml
Normal file
|
@ -0,0 +1,163 @@
|
|||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard
|
||||
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
||||
latin:keyboardHeight="@dimen/keyboardHeight"
|
||||
latin:maxKeyboardHeight="50%p"
|
||||
latin:rowHeight="25%p"
|
||||
latin:horizontalGap="@dimen/key_horizontal_gap"
|
||||
latin:verticalGap="@dimen/key_bottom_gap"
|
||||
latin:popupKeyboardTemplate="@xml/kbd_popup_template"
|
||||
latin:maxPopupKeyboardColumn="@integer/config_max_popup_keyboard_column"
|
||||
>
|
||||
<include
|
||||
latin:keyboardLayout="@xml/kbd_key_styles" />
|
||||
<!-- This row is intentionally not marked as a top row -->
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyLabel="~" />
|
||||
<Key
|
||||
latin:keyLabel="`" />
|
||||
<Key
|
||||
latin:keyLabel="|" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="•"
|
||||
latin:popupCharacters="♪,♥,♠,♦,♣" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="√" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="π"
|
||||
latin:popupCharacters="Π" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="÷" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="×" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="§"
|
||||
latin:popupCharacters="¶" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="Δ" />
|
||||
<Key
|
||||
latin:keyStyle="deleteKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="9.0%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="£"
|
||||
latin:keyXPos="4.5%p" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="¢" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="€" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="¥" />
|
||||
<Key
|
||||
latin:keyLabel="^"
|
||||
latin:popupCharacters="↑,↓,←,→" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="°"
|
||||
latin:popupCharacters="′,″" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="±"
|
||||
latin:popupCharacters="∞" />
|
||||
<Key
|
||||
latin:keyLabel="{" />
|
||||
<Key
|
||||
latin:keyLabel="}" />
|
||||
<Key
|
||||
latin:keyStyle="returnKeyStyle"
|
||||
latin:keyXPos="-14.6%p"
|
||||
latin:keyWidth="fillBoth"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="moreKeyStyle"
|
||||
latin:keyWidth="10.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyLabel="\\" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="©" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="®" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="™" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="℅" />
|
||||
<Key
|
||||
latin:keyLabel="[" />
|
||||
<Key
|
||||
latin:keyLabel="]" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="¡" />
|
||||
<Key
|
||||
latin:keyStyle="nonPasswordSymbolKeyStyle"
|
||||
latin:keyLabel="¿" />
|
||||
</Row>
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row
|
||||
latin:keyWidth="8.9%p"
|
||||
>
|
||||
<Key
|
||||
latin:keyStyle="toAlphaKeyStyle"
|
||||
latin:keyLabelOption="alignLeft"
|
||||
latin:keyWidth="13.0%p"
|
||||
latin:keyEdgeFlags="left" />
|
||||
<Key
|
||||
latin:keyStyle="tabKeyStyle" />
|
||||
<Key
|
||||
latin:keyStyle="spaceKeyStyle"
|
||||
latin:keyXPos="30.750%p"
|
||||
latin:keyWidth="39.750%p" />
|
||||
<Key
|
||||
latin:keyStyle="micOrSettingsKeyStyle"
|
||||
latin:keyXPos="-10.0%p"
|
||||
latin:keyWidth="fillRight"
|
||||
latin:keyEdgeFlags="right" />
|
||||
</Row>
|
||||
</Keyboard>
|
Loading…
Reference in a new issue