| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2010-2015, Google Inc. |
| All rights reserved. |
| |
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted provided that the following conditions are |
| met: |
| |
| * Redistributions of source code must retain the above copyright |
| notice, this list of conditions and the following disclaimer. |
| * Redistributions in binary form must reproduce the above |
| copyright notice, this list of conditions and the following disclaimer |
| in the documentation and/or other materials provided with the |
| distribution. |
| * Neither the name of Google Inc. nor the names of its |
| contributors may be used to endorse or promote products derived from |
| this software without specific prior written permission. |
| |
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| --> |
| <Keyboard |
| xmlns:mozc="http://schemas.android.com/apk/res-auto" |
| mozc:keyboardContentDescription="@string/cd_keyboard_kana" |
| mozc:keyBackground="twelvekeysRegular" |
| mozc:keyWidth="17.3%p" mozc:keyHeight="25%p" mozc:keyHorizontalLayoutWeight="1" |
| mozc:horizontalGap="0dip" mozc:verticalGap="0dip" |
| mozc:popUpHeight="@dimen/key_preview_height" |
| mozc:popUpIconHeight="@dimen/key_preview_icon_height" |
| mozc:popUpXOffset="0dip" mozc:popUpYOffset="@dimen/mini_keyboard_vertical_correction" |
| mozc:defaultIconWidth="@dimen/unlimited" mozc:defaultIconHeight="@dimen/keyboard_twelvekeys_default_height"> |
| <Row> |
| <Key mozc:keyBackground="twelvekeysFunction" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="left"> |
| <KeyState mozc:contentDescription="@string/cd_key_undo"> |
| <Flick> |
| <KeyEntity mozc:sourceId="1" |
| mozc:keyCode="@integer/key_undo" |
| mozc:keyIcon="@raw/twelvekeys__function__undo__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorTop"/> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_a"> |
| <Flick> |
| <KeyEntity mozc:sourceId="2" |
| mozc:keyCode="@integer/uchar_digit_one" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__a"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__a" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ka"> |
| <Flick> |
| <KeyEntity mozc:sourceId="3" |
| mozc:keyCode="@integer/uchar_digit_two" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ka"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ka" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_sa"> |
| <Flick> |
| <KeyEntity mozc:sourceId="4" |
| mozc:keyCode="@integer/uchar_digit_three" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__sa"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__sa" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorTop"/> |
| <Key mozc:keyBackground="twelvekeysFunction" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="right" mozc:isRepeatable="true"> |
| <KeyState mozc:contentDescription="@string/cd_key_uchar_backspace"> |
| <Flick> |
| <KeyEntity mozc:sourceId="5" |
| mozc:keyCode="@integer/uchar_backspace" |
| mozc:keyIcon="@raw/twelvekeys__function__delete__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| </Row> |
| <Row> |
| <Key mozc:keyBackground="twelvekeysFunction" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="left" mozc:isRepeatable="true"> |
| <KeyState mozc:contentDescription="@string/cd_key_left"> |
| <Flick> |
| <KeyEntity mozc:sourceId="6" |
| mozc:keyCode="@integer/key_left" |
| mozc:keyIcon="@raw/twelvekeys__function__left_arrow__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorCenter"/> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ta"> |
| <Flick> |
| <KeyEntity mozc:sourceId="7" |
| mozc:keyCode="@integer/uchar_digit_four" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ta"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ta" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_na"> |
| <Flick> |
| <KeyEntity mozc:sourceId="8" |
| mozc:keyCode="@integer/uchar_digit_five" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__na"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__na" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ha"> |
| <Flick> |
| <KeyEntity mozc:sourceId="9" |
| mozc:keyCode="@integer/uchar_digit_six" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ha"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ha" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorCenter"/> |
| <Key mozc:keyBackground="twelvekeysFunction" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="right" mozc:isRepeatable="true"> |
| <KeyState mozc:contentDescription="@string/cd_key_right"> |
| <Flick> |
| <KeyEntity mozc:sourceId="10" |
| mozc:keyCode="@integer/key_right" |
| mozc:keyIcon="@raw/twelvekeys__function__right_arrow__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| </Row> |
| <Row> |
| <Key mozc:keyBackground="twelvekeysFunction" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="left"> |
| <KeyState mozc:contentDescription="@string/cd_key_symbol"> |
| <Flick> |
| <KeyEntity mozc:sourceId="11" |
| mozc:keyCode="@integer/key_symbol" |
| mozc:keyIcon="@raw/twelvekeys__function__symbol__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_symbol" mozc:metaState="handling_touch_event"> |
| <Flick> |
| <KeyEntity mozc:sourceId="30" |
| mozc:keyIcon="@raw/twelvekeys__function__symbol__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorCenter"/> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ma"> |
| <Flick> |
| <KeyEntity mozc:sourceId="12" |
| mozc:keyCode="@integer/uchar_digit_seven" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ma"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ma" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ya"> |
| <Flick> |
| <KeyEntity mozc:sourceId="13" |
| mozc:keyCode="@integer/uchar_digit_eight" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ya"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ya" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_ra"> |
| <Flick> |
| <KeyEntity mozc:sourceId="14" |
| mozc:keyCode="@integer/uchar_digit_nine" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__ra"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__ra" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorCenter"/> |
| <Key mozc:keyBackground="twelvekeysFunctionWithThreeDots" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="right"> |
| <KeyState mozc:contentDescription="@string/cd_key_uchar_space"> |
| <Flick> |
| <KeyEntity mozc:sourceId="15" |
| mozc:keyCode="@integer/uchar_space" |
| mozc:longPressKeyCode="@integer/key_ime_picker_dialog" |
| mozc:keyIcon="@raw/twelvekeys__function__space__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| </Row> |
| <Row> |
| <Key mozc:keyBackground="twelvekeysFunctionWithThreeDots" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="left"> |
| <KeyState mozc:contentDescription="@string/cd_key_chartype_to_abc"> |
| <Flick> |
| <KeyEntity mozc:sourceId="16" |
| mozc:keyCode="@integer/key_chartype_to_abc" |
| mozc:longPressKeyCode="@integer/key_menu_dialog" |
| mozc:keyIcon="@raw/twelvekeys__function__kana__icon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorBottom"/> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_modifier" mozc:metaState="fallback|composing|no_globe"> |
| <Flick> |
| <KeyEntity mozc:sourceId="17" |
| mozc:keyCode="@integer/uchar_asterisk" |
| mozc:keyIcon="@raw/twelvekeys__kana__10"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__kana__popup__10" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_modifier" mozc:metaState="handling_touch_event" > |
| <Flick> |
| <KeyEntity mozc:sourceId="29" |
| mozc:keyCode="@integer/uchar_asterisk" |
| mozc:keyIcon="@raw/globe_keyicon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__kana__popup__10" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_globe" mozc:metaState="globe" > |
| <Flick> |
| <KeyEntity mozc:sourceId="28" |
| mozc:keyCode="@integer/key_globe" |
| mozc:keyIcon="@raw/globe_keyicon" |
| mozc:iconWidth="@dimen/unlimited" |
| mozc:iconHeight="@dimen/default_function_icon_height" |
| mozc:longPressKeyCode="@integer/key_ime_picker_dialog" /> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_line_wa"> |
| <Flick> |
| <KeyEntity mozc:sourceId="18" |
| mozc:keyCode="@integer/uchar_digit_zero" |
| mozc:keyIcon="@raw/twelvekeys__kana__keyicon__wa"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__popup__wa" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Key> |
| <KeyState mozc:contentDescription="@string/cd_key_kana_punctuation"> |
| <Flick> |
| <KeyEntity mozc:sourceId="19" |
| mozc:keyCode="@integer/uchar_number_sign" |
| mozc:keyIcon="@raw/twelvekeys__kana__simple__12"> |
| <PopUp mozc:popUpIcon="@raw/twelvekeys__kana__simple__12" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| <Spacer mozc:keyWidth="@dimen/keyboard_separator_width" mozc:keyHorizontalLayoutWeight="0" |
| mozc:keyBackground="keyboardSeparatorBottom"/> |
| <Key mozc:keyBackground="twelvekeysFunctionWithThreeDots" |
| mozc:keyHorizontalLayoutWeight="0" mozc:keyEdgeFlags="right" |
| mozc:defaultIconWidth="@dimen/keyboard_enter_width" |
| mozc:defaultIconHeight="@dimen/unlimited"> |
| <KeyState mozc:contentDescription="@string/cd_key_uchar_linefeed"> |
| <Flick> |
| <KeyEntity mozc:sourceId="20" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__enter__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_composing_done" |
| mozc:metaState="composing"> |
| <Flick> |
| <KeyEntity mozc:sourceId="21" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__enter__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_done" |
| mozc:metaState="action_done"> |
| <Flick> |
| <KeyEntity mozc:sourceId="22" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_done__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_go" |
| mozc:metaState="action_go"> |
| <Flick> |
| <KeyEntity mozc:sourceId="23" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_go__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_next" |
| mozc:metaState="action_next"> |
| <Flick> |
| <KeyEntity mozc:sourceId="24" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_next__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_previous" |
| mozc:metaState="action_previous"> |
| <Flick> |
| <KeyEntity mozc:sourceId="25" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_previous__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_search" |
| mozc:metaState="action_search"> |
| <Flick> |
| <KeyEntity mozc:sourceId="26" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_search__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| <KeyState mozc:contentDescription="@string/cd_key_action_send" |
| mozc:metaState="action_send"> |
| <Flick> |
| <KeyEntity mozc:sourceId="27" |
| mozc:keyCode="@integer/uchar_linefeed" |
| mozc:longPressKeyCode="@integer/key_symbol_emoji" |
| mozc:longPressTimeoutTrigger="false" |
| mozc:keyIcon="@raw/function__action_send__icon"> |
| <PopUp mozc:popUpLongPressIcon="@raw/function__symbol__popup" |
| mozc:popUpIconHeight="@dimen/key_preview_emoji_icon_height" /> |
| </KeyEntity> |
| </Flick> |
| </KeyState> |
| </Key> |
| </Row> |
| <!-- Next sourceId: 31 --> |
| </Keyboard> |