From 5d6f88d2bccf782aeabf37424b373689dab0d14f Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 5 Jan 2022 17:48:34 +0100 Subject: [PATCH] adding some keyboard layout updates --- .../keyboard/services/SimpleKeyboardIME.kt | 1 - app/src/main/res/xml/keys_layout.xml | 64 ++++--------------- 2 files changed, 11 insertions(+), 54 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt index 2ed90c5..001333f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt @@ -38,7 +38,6 @@ class SimpleKeyboardIME : InputMethodService(), KeyboardView.OnKeyboardActionLis } else { inputConnection.commitText("", 1) } - caps = !caps keyboard!!.isShifted = caps keyboardView!!.invalidateAllKeys() } diff --git a/app/src/main/res/xml/keys_layout.xml b/app/src/main/res/xml/keys_layout.xml index 36fd274..d121595 100644 --- a/app/src/main/res/xml/keys_layout.xml +++ b/app/src/main/res/xml/keys_layout.xml @@ -6,45 +6,6 @@ android:keyBackground="@color/color_primary_dark" android:keyTextColor="@color/color_accent" android:verticalGap="3px"> - - - - - - - - - - - - - - - + android:keyIcon="@drawable/ic_arrow_left_vector" /> - + android:keyLabel="" /> +