From 18fc6805863ce6ac5d505669f63318e561a0a3ed Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 7 Jan 2022 23:21:07 +0100 Subject: [PATCH] adding icons for caps lock and enter --- .../main/res/drawable/btn_keyboard_key.xml | 23 ++++++------------- .../res/drawable/ic_caps_outline_vector.xml | 3 +++ app/src/main/res/drawable/ic_caps_vector.xml | 3 +++ app/src/main/res/drawable/ic_enter_vector.xml | 3 +++ app/src/main/res/xml/keys_layout.xml | 5 ++-- 5 files changed, 18 insertions(+), 19 deletions(-) create mode 100644 app/src/main/res/drawable/ic_caps_outline_vector.xml create mode 100644 app/src/main/res/drawable/ic_caps_vector.xml create mode 100644 app/src/main/res/drawable/ic_enter_vector.xml diff --git a/app/src/main/res/drawable/btn_keyboard_key.xml b/app/src/main/res/drawable/btn_keyboard_key.xml index f1ee659..9399750 100644 --- a/app/src/main/res/drawable/btn_keyboard_key.xml +++ b/app/src/main/res/drawable/btn_keyboard_key.xml @@ -1,5 +1,4 @@ - - - - - - - + + + + - - + + diff --git a/app/src/main/res/drawable/ic_caps_outline_vector.xml b/app/src/main/res/drawable/ic_caps_outline_vector.xml new file mode 100644 index 0000000..f38e09f --- /dev/null +++ b/app/src/main/res/drawable/ic_caps_outline_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/drawable/ic_caps_vector.xml b/app/src/main/res/drawable/ic_caps_vector.xml new file mode 100644 index 0000000..26d4671 --- /dev/null +++ b/app/src/main/res/drawable/ic_caps_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/drawable/ic_enter_vector.xml b/app/src/main/res/drawable/ic_enter_vector.xml new file mode 100644 index 0000000..de99601 --- /dev/null +++ b/app/src/main/res/drawable/ic_enter_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/xml/keys_layout.xml b/app/src/main/res/xml/keys_layout.xml index 84cabb0..2f95f24 100644 --- a/app/src/main/res/xml/keys_layout.xml +++ b/app/src/main/res/xml/keys_layout.xml @@ -75,7 +75,7 @@ android:codes="-1" android:keyWidth="15%p" android:keyEdgeFlags="left" - android:keyLabel="CAPS" /> + android:keyIcon="@drawable/ic_caps_outline_vector" /> @@ -123,8 +123,7 @@ + android:keyIcon="@drawable/ic_enter_vector" />