adding some keyboard layout updates

This commit is contained in:
tibbi 2022-01-05 17:48:34 +01:00
parent 58907c8562
commit 5d6f88d2bc
2 changed files with 11 additions and 54 deletions

View File

@ -38,7 +38,6 @@ class SimpleKeyboardIME : InputMethodService(), KeyboardView.OnKeyboardActionLis
} else {
inputConnection.commitText("", 1)
}
caps = !caps
keyboard!!.isShifted = caps
keyboardView!!.invalidateAllKeys()
}

View File

@ -6,45 +6,6 @@
android:keyBackground="@color/color_primary_dark"
android:keyTextColor="@color/color_accent"
android:verticalGap="3px">
<Row>
<Key
android:codes="49"
android:keyEdgeFlags="left"
android:keyLabel="1" />
<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" />
<Key
android:codes="-5"
android:isRepeatable="true"
android:keyWidth="20%p"
android:keyEdgeFlags="right"
android:keyLabel="DEL" />
</Row>
<Row>
<Key
android:codes="113"
@ -108,14 +69,11 @@
<Key
android:codes="108"
android:keyLabel="l" />
<Key
android:codes="35,64"
android:keyEdgeFlags="right"
android:keyLabel="\# \@" />
</Row>
<Row>
<Key
android:codes="-1"
android:keyWidth="15%p"
android:keyEdgeFlags="left"
android:keyLabel="CAPS" />
<Key
@ -140,12 +98,12 @@
android:codes="109"
android:keyLabel="m" />
<Key
android:codes="46"
android:keyLabel="." />
<Key
android:codes="63,33,58"
android:codes="-5"
android:iconPreview="@null"
android:isRepeatable="true"
android:keyWidth="15%p"
android:keyEdgeFlags="right"
android:keyLabel="\? ! :" />
android:keyIcon="@drawable/ic_arrow_left_vector" />
</Row>
<Row android:rowEdgeFlags="bottom">
<Key
@ -153,15 +111,15 @@
android:keyWidth="10%p"
android:keyEdgeFlags="left"
android:keyLabel="," />
<Key
android:codes="47"
android:keyWidth="10%p"
android:keyLabel="/" />
<Key
android:codes="32"
android:iconPreview="@null"
android:isRepeatable="true"
android:keyWidth="60%p"
android:keyLabel="SPACE" />
android:keyLabel="" />
<Key
android:codes="46"
android:keyLabel="." />
<Key
android:codes="-4"
android:keyWidth="20%p"