This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine Pinyin symbol keyboard and add Emoji support (#3056)
* Chinese Pinyin keyboard refine and Emoji support. * Long press for domain select. * Fixed using backslash crash in Java 1.4.
- Loading branch information
1 parent
989a29e
commit 2796172
Showing
5 changed files
with
148 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:horizontalGap="@dimen/keyboard_horizontal_gap" | ||
android:verticalGap="@dimen/keyboard_vertical_gap" | ||
android:keyWidth="@dimen/keyboard_key_width" | ||
android:keyHeight="@dimen/keyboard_key_height"> | ||
<Row> | ||
<Key android:codes="8364" android:keyLabel="€" android:keyEdgeFlags="left"/> | ||
<Key android:codes="163" android:keyLabel="£"/> | ||
<Key android:codes="165" android:keyLabel="¥"/> | ||
<Key android:codes="36" android:keyLabel="$"/> | ||
<Key android:codes="199" android:keyLabel="ç"/> | ||
<Key android:codes="37" android:keyLabel="%"/> | ||
<Key android:codes="38" android:keyLabel="&"/> | ||
<Key android:codes="40" android:keyLabel="("/> | ||
<Key android:codes="41" android:keyLabel=")"/> | ||
<Key android:codes="61" android:keyLabel="="/> | ||
<Key android:codes="95" android:keyLabel="_"/> | ||
<Key android:codes="-5" android:keyIcon="@drawable/ic_icon_keyboard_backspace" android:isRepeatable="true" android:keyWidth="@dimen/keyboard_key_backspace_width"/> | ||
</Row> | ||
|
||
<Row> | ||
<Key android:codes="186" android:keyLabel="º" android:keyEdgeFlags="left" android:horizontalGap="@dimen/keyboard_left_margin"/> | ||
<Key android:codes="94" android:keyLabel="^" /> | ||
<Key android:codes="0x2026" android:keyLabel="…" /> | ||
<Key android:codes="123" android:keyLabel="{"/> | ||
<Key android:codes="125" android:keyLabel="}"/> | ||
<Key android:codes="0x3010" android:keyLabel="【"/> | ||
<Key android:codes="0x3011" android:keyLabel="】"/> | ||
<Key android:codes="124" android:keyLabel="|"/> | ||
<Key android:codes="59" android:keyLabel=";"/> | ||
<Key android:codes="58" android:keyLabel=":"/> | ||
<Key android:codes="-4" android:keyLabel="@string/keyboard_enter_label" android:keyWidth="@dimen/keyboard_key_enter_width" /> | ||
</Row> | ||
|
||
<Row> | ||
<Key android:codes="-1" android:keyIcon="@drawable/ic_icon_keyboard_shift_on" android:keyEdgeFlags="left"/> | ||
<Key android:codes="0x300a" android:keyLabel="《"/> | ||
<Key android:codes="0x300b" android:keyLabel="》"/> | ||
<Key android:codes="96" android:keyLabel="`"/> | ||
<Key android:codes="126" android:keyLabel="~"/> | ||
<Key android:codes="39" android:keyLabel="'"/> | ||
<Key android:codes="34" android:keyLabel="""/> | ||
<Key android:codes="92" android:keyLabel="\\" /> | ||
<Key android:codes="45" android:keyLabel="-" /> | ||
<Key android:codes="43" android:keyLabel="+" /> | ||
<Key android:codes="47" android:keyLabel="/" /> | ||
<Key android:codes="-1" android:keyIcon="@drawable/ic_icon_keyboard_shift_on" /> | ||
</Row> | ||
|
||
<Row> | ||
<Key android:codes="-2" android:keyLabel="@string/keyboard_mode_change" android:keyEdgeFlags="left" /> | ||
<Key android:codes="-12" android:keyIcon="@drawable/ic_icon_keyboard_globe" /> | ||
<Key android:codes="32" android:keyLabel="" android:keyWidth="@dimen/keyboard_key_space_width" android:isRepeatable="true"/> | ||
<Key android:codes="0x3001" android:keyLabel="、"/> | ||
<Key android:codes="46" android:keyLabel="."/> | ||
<Key android:codes="33" android:keyLabel="!" android:popupCharacters="!¡" android:popupKeyboard="@xml/keyboard_popup" /> | ||
<Key android:codes="63" android:keyLabel="\?" android:popupCharacters="\?¿" android:popupKeyboard="@xml/keyboard_popup" /> | ||
<Key android:codes="-14" android:keyLabel="\.com" /> | ||
<Key android:codes="-13" android:keyLabel="^.^"/> | ||
</Row> | ||
</Keyboard> |