LatinIME/res/xml/kbd_symbols.xml

138 lines
6.0 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2008, 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:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height"
>
<Row>
<Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="¹½⅓¼⅛"
/>
<Key android:codes="50" android:keyLabel="2"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="²⅔"
/>
<Key android:codes="51" android:keyLabel="3"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="³¾⅜"
/>
<Key android:codes="52" android:keyLabel="4"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="⁴"
/>
<Key android:codes="53" android:keyLabel="5"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="⅝"
/>
<Key android:codes="54" android:keyLabel="6"/>
<Key android:codes="55" android:keyLabel="7"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="⅞"
/>
<Key android:codes="56" android:keyLabel="8"/>
<Key android:codes="57" android:keyLabel="9"/>
<Key android:codes="48" android:keyLabel="0"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="ⁿ∅"
android:keyEdgeFlags="right"/>
</Row>
<Row>
<Key android:codes="64" android:keyLabel="\@" android:keyEdgeFlags="left"/>
<Key android:codes="35" android:keyLabel="\#"/>
<Key android:codes="36" android:keyLabel="$"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="¢£€¥₣₤₱"
/>
<Key android:codes="37" android:keyLabel="%"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="‰"
/>
<Key android:codes="38" android:keyLabel="&amp;"/>
<Key android:codes="42" android:keyLabel="*"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="†‡"
/>
<Key android:codes="45" android:keyLabel="-"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="–—"
/>
<Key android:keyLabel="+"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="±"
/>
<Key android:codes="40" android:keyLabel="("
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="[{&lt;"
/>
<Key android:codes="41" android:keyLabel=")" android:keyEdgeFlags="right"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="]}&gt;"
/>
</Row>
<Row>
<Key android:codes="-1" android:keyLabel="@string/label_alt_key"
android:keyWidth="15%p" android:isModifier="true"
android:isSticky="true" android:keyEdgeFlags="left"/>
<Key android:codes="33" android:keyLabel="!"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="¡"
/>
<Key android:codes="34" android:keyLabel="&quot;"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="“”«»˝"
/>
<Key android:codes="39" android:keyLabel="\'"/>
<Key android:codes="58" android:keyLabel=":"/>
<Key android:codes="59" android:keyLabel=";"/>
<Key android:codes="47" android:keyLabel="/" />
<Key android:codes="63" android:keyLabel="\?"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="¿"
/>
<Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" android:keyWidth="15%p" android:keyEdgeFlags="right"
android:iconPreview="@drawable/sym_keyboard_feedback_delete"
android:isRepeatable="true"/>
</Row>
<Row android:rowEdgeFlags="bottom">
<Key android:codes="-2" android:keyLabel="@string/label_alpha_key"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="_"
android:keyWidth="20%p" android:keyEdgeFlags="left"/>
<Key android:keyLabel="," android:keyWidth="15%p"
android:popupKeyboard="@xml/kbd_popup_template"
android:popupCharacters="‚„"
/>
<Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p"
android:iconPreview="@drawable/sym_keyboard_feedback_space"
android:isRepeatable="true"/>
<Key android:keyLabel="." android:keyWidth="15%p" />
<Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" android:keyWidth="20%p" android:keyEdgeFlags="right"
android:iconPreview="@drawable/sym_keyboard_feedback_return"
/>
</Row>
</Keyboard>