From e430bbfeaca135c38872cd0892e7efd77358ecb9 Mon Sep 17 00:00:00 2001 From: Emil Kosz Date: Mon, 4 Nov 2024 19:22:04 +0100 Subject: [PATCH] Misc. changes, arabic fixes --- README.md | 11 +++--- .../eu/cfpi_fpsi/titanboard/InputView.java | 4 +-- .../main/res/drawable/button_transparent.xml | 1 + app/src/main/res/drawable/candidate.xml | 35 ------------------- app/src/main/res/layout/clip.xml | 3 +- app/src/main/res/layout/input.xml | 12 +++---- app/src/main/res/layout/symbol.xml | 2 +- app/src/main/res/values/colors.xml | 2 -- app/src/main/res/values/dimens.xml | 12 +++---- app/src/main/res/xml/keymaps_titan.xml | 2 +- app/src/main/res/xml/method.xml | 2 +- 11 files changed, 22 insertions(+), 64 deletions(-) delete mode 100644 app/src/main/res/drawable/candidate.xml diff --git a/README.md b/README.md index 6db4e17..ffb53b7 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,14 @@ Cupcake. a given key. This also applies for alternate (alt) symbols - 9 supported languages, with more planned (which are trivial to add) - No hard to memorize key combinations; reasonably uses what the physical keyboard has to offer -- Pasting from clipboard akin to Gboard -- Occupied screen estate is minimized; on Android 5.0 and higher, an additional floating interface -mode is supported, which floats above the text you're typing, thus making the keyboard occupy no -space at all +- Clipboard management ## Planned features - Autocorrect - Emojis -- More sophisticated clipboard management +- Support for content other than text in clipboard +- Floating interface, which is placed over the current text in certain contexts, to save screen +space ## Supported languages - English @@ -28,7 +27,7 @@ space at all - Polish - Russian (Phonetic) - Greek (polytonic diacritics under Q) -- Arabic (Intellark) +- Arabic (Phonetic) ## Supported devices Thus far, the supported devices are: diff --git a/app/src/main/java/eu/cfpi_fpsi/titanboard/InputView.java b/app/src/main/java/eu/cfpi_fpsi/titanboard/InputView.java index 83c0daa..40944a8 100644 --- a/app/src/main/java/eu/cfpi_fpsi/titanboard/InputView.java +++ b/app/src/main/java/eu/cfpi_fpsi/titanboard/InputView.java @@ -66,8 +66,8 @@ public class InputView extends RelativeLayout { mSymbolLayout.setMargins(0, 0, getResources().getDimensionPixelSize(R.dimen.default_space), 0); - mClipLayout.setMargins(0, - getResources().getDimensionPixelSize(R.dimen.default_space), 0, 0); + mClipLayout.setMargins(0, 0, 0, + getResources().getDimensionPixelSize(R.dimen.default_space)); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { mSymbolLayout.setMarginEnd(getResources().getDimensionPixelSize(R.dimen.default_space)); diff --git a/app/src/main/res/drawable/button_transparent.xml b/app/src/main/res/drawable/button_transparent.xml index 7e95a79..87858cd 100644 --- a/app/src/main/res/drawable/button_transparent.xml +++ b/app/src/main/res/drawable/button_transparent.xml @@ -26,6 +26,7 @@ + \ No newline at end of file diff --git a/app/src/main/res/drawable/candidate.xml b/app/src/main/res/drawable/candidate.xml deleted file mode 100644 index 38e276a..0000000 --- a/app/src/main/res/drawable/candidate.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/clip.xml b/app/src/main/res/layout/clip.xml index d153e38..473517f 100644 --- a/app/src/main/res/layout/clip.xml +++ b/app/src/main/res/layout/clip.xml @@ -20,8 +20,7 @@ + android:layout_height="wrap_content">