diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-11-13 10:45:20 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-11-13 10:45:20 +0000 |
| commit | ab1856046ffca7187d7d806a454729d9fb1bbecc (patch) | |
| tree | 597f4487fd607d771a99f220509d647e7627564f /src/ui/android/res | |
| parent | fa4c327463f01eae2e0fda7deb82c4e9f40797cf (diff) | |
now the Android App has a translation keyboard which allows the translations to be done from inside another application
Diffstat (limited to 'src/ui/android/res')
22 files changed, 348 insertions, 0 deletions
diff --git a/src/ui/android/res/drawable-hdpi/btn_close.png b/src/ui/android/res/drawable-hdpi/btn_close.png Binary files differnew file mode 100644 index 000000000..47f11e5bf --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/btn_close.png diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png Binary files differnew file mode 100644 index 000000000..5139c7179 --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png Binary files differnew file mode 100644 index 000000000..5a5670c32 --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png Binary files differnew file mode 100644 index 000000000..e72cde3bb --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png Binary files differnew file mode 100644 index 000000000..275769618 --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png Binary files differnew file mode 100644 index 000000000..cef2daa5d --- /dev/null +++ b/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png Binary files differnew file mode 100644 index 000000000..6cee59682 --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png Binary files differnew file mode 100644 index 000000000..c0d6d1394 --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png Binary files differnew file mode 100644 index 000000000..cbe2b152f --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png Binary files differnew file mode 100644 index 000000000..127755d6b --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png Binary files differnew file mode 100644 index 000000000..d05962846 --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png Binary files differnew file mode 100644 index 000000000..09b94d9e6 --- /dev/null +++ b/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png diff --git a/src/ui/android/res/layout/input.xml b/src/ui/android/res/layout/input.xml new file mode 100644 index 000000000..fdef07a53 --- /dev/null +++ b/src/ui/android/res/layout/input.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> + +<org.grammaticalframework.ui.android.TranslatorKeyboardView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/keyboard" + android:layout_alignParentBottom="true" + android:layout_width="match_parent" + android:layout_height="wrap_content" + /> diff --git a/src/ui/android/res/layout/keyboard_languages_options.xml b/src/ui/android/res/layout/keyboard_languages_options.xml new file mode 100644 index 000000000..0b45b739c --- /dev/null +++ b/src/ui/android/res/layout/keyboard_languages_options.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:padding="5dp" + android:layout_margin="1dp" + > + <ImageButton android:id="@+id/closeButton" + android:background="@android:color/transparent" + android:src="@drawable/btn_close" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_marginStart="8dp" + android:padding="5dp" + android:clickable="true" + /> +</LinearLayout>
\ No newline at end of file diff --git a/src/ui/android/res/values/dimens.xml b/src/ui/android/res/values/dimens.xml index 55c1e5908..55088756c 100644 --- a/src/ui/android/res/values/dimens.xml +++ b/src/ui/android/res/values/dimens.xml @@ -3,5 +3,8 @@ <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> + <dimen name="key_height">50dip</dimen> + <dimen name="candidate_font_height">16sp</dimen> + <dimen name="candidate_vertical_padding">6sp</dimen> </resources> diff --git a/src/ui/android/res/values/strings.xml b/src/ui/android/res/values/strings.xml index 57e20027d..e7c4e560f 100644 --- a/src/ui/android/res/values/strings.xml +++ b/src/ui/android/res/values/strings.xml @@ -9,4 +9,15 @@ <string name="mic_input">Speech Input</string> <string name="keyboard_input">Keyboard Input</string> <string name="global_preferences_key">org.grammaticalframework.ui.android.GLOBAL_PREFERENCES</string> + + <!-- Labels on soft keys --> + <string name="label_done_key">Done</string> + <string name="label_go_key">Go</string> + <string name="label_next_key">Next</string> + <string name="label_previous_key">Previous</string> + <string name="label_send_key">Send</string> + + <!-- Labels for subtype --> + <string name="normalKeyboardMode">normalKeyboardMode</string> + <string name="internalKeyboardMode">internalKeyboardMode</string> </resources> diff --git a/src/ui/android/res/xml/cyrillic.xml b/src/ui/android/res/xml/cyrillic.xml new file mode 100644 index 000000000..2e444507b --- /dev/null +++ b/src/ui/android/res/xml/cyrillic.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="utf-8"?> + +<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="9%p" + android:horizontalGap="0px" + android:verticalGap="0px" + android:keyHeight="@dimen/key_height" + > + + <Row> + <Key android:codes="1103" android:keyLabel="я" android:keyEdgeFlags="left"/> + <Key android:codes="1074" android:keyLabel="в"/> + <Key android:codes="1077" android:keyLabel="е" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ёєэ"/> + <Key android:codes="1088" android:keyLabel="р"/> + <Key android:codes="1090" android:keyLabel="т" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ћ"/> + <Key android:codes="1098" android:keyLabel="ъ"/> + <Key android:codes="1091" android:keyLabel="у" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ў"/> + <Key android:codes="1080" android:keyLabel="и" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ії"/> + <Key android:codes="1086" android:keyLabel="о"/> + <Key android:codes="1087" android:keyLabel="п"/> + <Key android:codes="1095" android:keyLabel="ч" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ҷҹ" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="1072" android:keyLabel="а" android:keyEdgeFlags="left"/> + <Key android:codes="1089" android:keyLabel="с"/> + <Key android:codes="1076" android:keyLabel="д" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ђ"/> + <Key android:codes="1092" android:keyLabel="ф"/> + <Key android:codes="1075" android:keyLabel="г" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ґѓ"/> + <Key android:codes="1093" android:keyLabel="х"/> + <Key android:codes="1081" android:keyLabel="й" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ј"/> + <Key android:codes="1082" android:keyLabel="к" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ќ"/> + <Key android:codes="1083" android:keyLabel="л" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="љ"/> + <Key android:codes="1096" android:keyLabel="ш"/> + <Key android:codes="1097" android:keyLabel="щ" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" + android:keyWidth="14%p" android:isModifier="true" + android:isSticky="true" android:keyEdgeFlags="left"/> + <Key android:codes="1079" android:keyLabel="з"/> + <Key android:codes="1100" android:keyLabel="ь" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ыѣ"/> + <Key android:codes="1094" android:keyLabel="ц"/> + <Key android:codes="1078" android:keyLabel="ж" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="җџ"/> + <Key android:codes="1073" android:keyLabel="б"/> + <Key android:codes="1085" android:keyLabel="н" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="њ"/> + <Key android:codes="1084" android:keyLabel="м"/> + <Key android:codes="1102" android:keyLabel="ю"/> + <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" + android:keyWidth="15%p" android:keyEdgeFlags="right" + android:isRepeatable="true"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/normalKeyboardMode"> + <Key android:codes="-100" android:keyLabel="Sr" android:keyWidth="13%p" android:keyEdgeFlags="left"/> + <Key android:codes="-200" android:keyLabel="Tr" android:keyWidth="13%p"/> + <Key android:codes="-2" android:keyLabel="123" android:keyWidth="13%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:keyWidth="29%p" android:isRepeatable="true"/> + <Key android:codes="46,44" android:keyLabel=". ," + android:keyWidth="14%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="19%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/internalKeyboardMode"> + <Key android:codes="-2" android:keyLabel="123" android:keyWidth="15%p" android:horizontalGap="10%p" android:keyEdgeFlags="left"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:keyWidth="30%p" android:isRepeatable="true"/> + <Key android:codes="46,44" android:keyLabel=". ," + android:keyWidth="15%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> +</Keyboard>
\ No newline at end of file diff --git a/src/ui/android/res/xml/method.xml b/src/ui/android/res/xml/method.xml new file mode 100644 index 000000000..af83761ca --- /dev/null +++ b/src/ui/android/res/xml/method.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- The attributes in this XML file provide configuration information --> +<!-- for the Search Manager. --> + +<input-method xmlns:android="http://schemas.android.com/apk/res/android"> +</input-method> diff --git a/src/ui/android/res/xml/popup_keyboard.xml b/src/ui/android/res/xml/popup_keyboard.xml new file mode 100644 index 000000000..521d3d278 --- /dev/null +++ b/src/ui/android/res/xml/popup_keyboard.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" + android:keyWidth="10%p" + android:keyHeight="10%p"> +</Keyboard>
\ No newline at end of file diff --git a/src/ui/android/res/xml/qwerty.xml b/src/ui/android/res/xml/qwerty.xml new file mode 100644 index 000000000..6e0b95975 --- /dev/null +++ b/src/ui/android/res/xml/qwerty.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="utf-8"?> + +<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="113" android:keyLabel="q" android:keyEdgeFlags="left"/> + <Key android:codes="119" android:keyLabel="w"/> + <Key android:codes="101" android:keyLabel="e" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="èéêë"/> + <Key android:codes="114" android:keyLabel="r"/> + <Key android:codes="116" android:keyLabel="t"/> + <Key android:codes="121" android:keyLabel="y" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ýÿ"/> + <Key android:codes="117" android:keyLabel="u" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ùúûü"/> + <Key android:codes="105" android:keyLabel="i" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ìíîï"/> + <Key android:codes="111" android:keyLabel="o" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="òóôõöœø"/> + <Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="97" android:keyLabel="a" android:horizontalGap="5%p" + android:keyEdgeFlags="left" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="àáâãäåæ"/> + <Key android:codes="115" android:keyLabel="s" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ß"/> + <Key android:codes="100" android:keyLabel="d"/> + <Key android:codes="102" android:keyLabel="f"/> + <Key android:codes="103" android:keyLabel="g"/> + <Key android:codes="104" android:keyLabel="h"/> + <Key android:codes="106" android:keyLabel="j"/> + <Key android:codes="107" android:keyLabel="k"/> + <Key android:codes="108" android:keyLabel="l" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" + android:keyWidth="15%p" android:isModifier="true" + android:isSticky="true" android:keyEdgeFlags="left"/> + <Key android:codes="122" android:keyLabel="z"/> + <Key android:codes="120" android:keyLabel="x"/> + <Key android:codes="99" android:keyLabel="c"/> + <Key android:codes="118" android:keyLabel="v"/> + <Key android:codes="98" android:keyLabel="b"/> + <Key android:codes="110" android:keyLabel="n" android:popupKeyboard="@xml/popup_keyboard" android:popupCharacters="ñ"/> + <Key android:codes="109" android:keyLabel="m"/> + <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" + android:keyWidth="15%p" android:keyEdgeFlags="right" + android:isRepeatable="true"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/normalKeyboardMode"> + <Key android:codes="-100" android:keyLabel="Sr" android:keyWidth="13%p" android:keyEdgeFlags="left"/> + <Key android:codes="-200" android:keyLabel="Tr" android:keyWidth="13%p"/> + <Key android:codes="-2" android:keyLabel="123" android:keyWidth="13%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:keyWidth="29%p" android:isRepeatable="true"/> + <Key android:codes="46,44" android:keyLabel=". ," + android:keyWidth="14%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="19%p" android:keyEdgeFlags="right"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/internalKeyboardMode"> + <Key android:codes="-2" android:keyLabel="123" android:keyWidth="15%p" android:horizontalGap="10%p" android:keyEdgeFlags="left"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" + android:keyWidth="30%p" android:isRepeatable="true"/> + <Key android:codes="46,44" android:keyLabel=". ," + android:keyWidth="15%p"/> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right"/> + </Row> +</Keyboard> +
\ No newline at end of file diff --git a/src/ui/android/res/xml/symbols.xml b/src/ui/android/res/xml/symbols.xml new file mode 100644 index 000000000..72deff01c --- /dev/null +++ b/src/ui/android/res/xml/symbols.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8"?> + +<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"/> + <Key android:codes="50" android:keyLabel="2"/> + <Key android:codes="51" android:keyLabel="3"/> + <Key android:codes="52" android:keyLabel="4"/> + <Key android:codes="53" android:keyLabel="5"/> + <Key android:codes="54" android:keyLabel="6"/> + <Key android:codes="55" android:keyLabel="7"/> + <Key android:codes="56" android:keyLabel="8"/> + <Key android:codes="57" android:keyLabel="9"/> + <Key android:codes="48" android:keyLabel="0" 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="$"/> + <Key android:codes="37" android:keyLabel="%"/> + <Key android:codes="38" android:keyLabel="&"/> + <Key android:codes="42" android:keyLabel="*"/> + <Key android:codes="45" android:keyLabel="-"/> + <Key android:codes="61" android:keyLabel="="/> + <Key android:codes="40" android:keyLabel="("/> + <Key android:codes="41" android:keyLabel=")" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" + android:keyWidth="15%p" android:isModifier="true" + android:isSticky="true" android:keyEdgeFlags="left"/> + <Key android:codes="33" android:keyLabel="!" /> + <Key android:codes="34" android:keyLabel="""/> + <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="\?"/> + <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" + android:keyWidth="15%p" android:keyEdgeFlags="right" + android:isRepeatable="true"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/normalKeyboardMode"> + <Key android:codes="-200" android:keyLabel="Tr" android:horizontalGap="5%p" + android:keyWidth="13%p" android:keyEdgeFlags="left" /> + <Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" /> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p" + android:isRepeatable="true"/> + <Key android:codes="44" android:keyLabel="," android:keyWidth="15%p" /> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right" + /> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/internalKeyboardMode"> + <Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" android:horizontalGap="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p" + android:isRepeatable="true"/> + <Key android:codes="44" android:keyLabel="," android:keyWidth="15%p" /> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right" + /> + </Row> +</Keyboard>
\ No newline at end of file diff --git a/src/ui/android/res/xml/symbols_shift.xml b/src/ui/android/res/xml/symbols_shift.xml new file mode 100644 index 000000000..b55e6f521 --- /dev/null +++ b/src/ui/android/res/xml/symbols_shift.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="utf-8"?> + +<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="126" android:keyLabel="~" android:keyEdgeFlags="left"/> + <Key android:codes="177" android:keyLabel="±"/> + <Key android:codes="215" android:keyLabel="×"/> + <Key android:codes="247" android:keyLabel="÷"/> + <Key android:codes="8226" android:keyLabel="•"/> + <Key android:codes="176" android:keyLabel="°"/> + <Key android:codes="96" android:keyLabel="`"/> + <Key android:codes="180" android:keyLabel="´"/> + <Key android:codes="123" android:keyLabel="{"/> + <Key android:codes="125" android:keyLabel="}" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="169" android:keyLabel="©" android:keyEdgeFlags="left"/> + <Key android:codes="163" android:keyLabel="£"/> + <Key android:codes="8364" android:keyLabel="€"/> + <Key android:codes="94" android:keyLabel="^"/> + <Key android:codes="174" android:keyLabel="®"/> + <Key android:codes="165" android:keyLabel="¥"/> + <Key android:codes="95" android:keyLabel="_"/> + <Key android:codes="43" android:keyLabel="+"/> + <Key android:codes="91" android:keyLabel="["/> + <Key android:codes="93" android:keyLabel="]" android:keyEdgeFlags="right"/> + </Row> + + <Row> + <Key android:codes="-1" android:keyIcon="@drawable/sym_keyboard_shift" + android:keyWidth="15%p" android:isModifier="true" + android:isSticky="true" android:keyEdgeFlags="left"/> + <Key android:codes="161" android:keyLabel="¡" /> + <Key android:codes="60" android:keyLabel="<"/> + <Key android:codes="62" android:keyLabel=">"/> + <Key android:codes="162" android:keyLabel="¢"/> + <Key android:codes="124" android:keyLabel="|"/> + <Key android:codes="92" android:keyLabel="\\" /> + <Key android:codes="191" android:keyLabel="¿"/> + <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" + android:keyWidth="15%p" android:keyEdgeFlags="right" + android:isRepeatable="true"/> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/normalKeyboardMode"> + <Key android:codes="-200" android:keyLabel="Tr" android:horizontalGap="5%p" + android:keyWidth="13%p" android:keyEdgeFlags="left" /> + <Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" /> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p" + android:isRepeatable="true"/> + <Key android:codes="8230" android:keyLabel="…" android:keyWidth="15%p" /> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right" /> + </Row> + + <Row android:rowEdgeFlags="bottom" android:keyboardMode="@string/internalKeyboardMode"> + <Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" android:horizontalGap="10%p"/> + <Key android:codes="32" android:keyIcon="@drawable/sym_keyboard_space" android:keyWidth="30%p" + android:isRepeatable="true"/> + <Key android:codes="8230" android:keyLabel="…" android:keyWidth="15%p" /> + <Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_return" + android:keyWidth="20%p" android:keyEdgeFlags="right" /> + </Row> +</Keyboard> |
