From ab1856046ffca7187d7d806a454729d9fb1bbecc Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 13 Nov 2013 10:45:20 +0000 Subject: now the Android App has a translation keyboard which allows the translations to be done from inside another application --- src/ui/android/res/drawable-hdpi/btn_close.png | Bin 0 -> 2220 bytes .../res/drawable-hdpi/sym_keyboard_delete.png | Bin 0 -> 885 bytes .../res/drawable-hdpi/sym_keyboard_return.png | Bin 0 -> 536 bytes .../res/drawable-hdpi/sym_keyboard_search.png | Bin 0 -> 1623 bytes .../res/drawable-hdpi/sym_keyboard_shift.png | Bin 0 -> 1247 bytes .../res/drawable-hdpi/sym_keyboard_space.png | Bin 0 -> 859 bytes .../res/drawable-mdpi/sym_keyboard_delete.png | Bin 0 -> 465 bytes .../res/drawable-mdpi/sym_keyboard_done.png | Bin 0 -> 771 bytes .../res/drawable-mdpi/sym_keyboard_return.png | Bin 0 -> 337 bytes .../res/drawable-mdpi/sym_keyboard_search.png | Bin 0 -> 1029 bytes .../res/drawable-mdpi/sym_keyboard_shift.png | Bin 0 -> 1029 bytes .../res/drawable-mdpi/sym_keyboard_space.png | Bin 0 -> 436 bytes src/ui/android/res/layout/input.xml | 9 +++ .../res/layout/keyboard_languages_options.xml | 20 ++++++ src/ui/android/res/values/dimens.xml | 3 + src/ui/android/res/values/strings.xml | 11 +++ src/ui/android/res/xml/cyrillic.xml | 76 +++++++++++++++++++++ src/ui/android/res/xml/method.xml | 6 ++ src/ui/android/res/xml/popup_keyboard.xml | 5 ++ src/ui/android/res/xml/qwerty.xml | 74 ++++++++++++++++++++ src/ui/android/res/xml/symbols.xml | 73 ++++++++++++++++++++ src/ui/android/res/xml/symbols_shift.xml | 71 +++++++++++++++++++ 22 files changed, 348 insertions(+) create mode 100644 src/ui/android/res/drawable-hdpi/btn_close.png create mode 100644 src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png create mode 100644 src/ui/android/res/drawable-hdpi/sym_keyboard_return.png create mode 100644 src/ui/android/res/drawable-hdpi/sym_keyboard_search.png create mode 100644 src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png create mode 100644 src/ui/android/res/drawable-hdpi/sym_keyboard_space.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_done.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_return.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_search.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png create mode 100644 src/ui/android/res/drawable-mdpi/sym_keyboard_space.png create mode 100644 src/ui/android/res/layout/input.xml create mode 100644 src/ui/android/res/layout/keyboard_languages_options.xml create mode 100644 src/ui/android/res/xml/cyrillic.xml create mode 100644 src/ui/android/res/xml/method.xml create mode 100644 src/ui/android/res/xml/popup_keyboard.xml create mode 100644 src/ui/android/res/xml/qwerty.xml create mode 100644 src/ui/android/res/xml/symbols.xml create mode 100644 src/ui/android/res/xml/symbols_shift.xml (limited to 'src/ui/android/res') diff --git a/src/ui/android/res/drawable-hdpi/btn_close.png b/src/ui/android/res/drawable-hdpi/btn_close.png new file mode 100644 index 000000000..47f11e5bf Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/btn_close.png differ diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png new file mode 100644 index 000000000..5139c7179 Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/sym_keyboard_delete.png differ diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png new file mode 100644 index 000000000..5a5670c32 Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/sym_keyboard_return.png differ diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png new file mode 100644 index 000000000..e72cde3bb Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/sym_keyboard_search.png differ diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png new file mode 100644 index 000000000..275769618 Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/sym_keyboard_shift.png differ diff --git a/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png b/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png new file mode 100644 index 000000000..cef2daa5d Binary files /dev/null and b/src/ui/android/res/drawable-hdpi/sym_keyboard_space.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png new file mode 100644 index 000000000..6cee59682 Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_delete.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png new file mode 100644 index 000000000..c0d6d1394 Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_done.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png new file mode 100644 index 000000000..cbe2b152f Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_return.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png new file mode 100644 index 000000000..127755d6b Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_search.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png new file mode 100644 index 000000000..d05962846 Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_shift.png differ diff --git a/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png b/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png new file mode 100644 index 000000000..09b94d9e6 Binary files /dev/null and b/src/ui/android/res/drawable-mdpi/sym_keyboard_space.png differ 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 @@ + + + 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 @@ + + + + \ 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 @@ 16dp 16dp + 50dip + 16sp + 6sp 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 @@ Speech Input Keyboard Input org.grammaticalframework.ui.android.GLOBAL_PREFERENCES + + + Done + Go + Next + Previous + Send + + + normalKeyboardMode + internalKeyboardMode 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + 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 @@ + + + \ 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3