diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java index 0d95f3e65..91600e180 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/keyboard/KeyboardView.java @@ -189,7 +189,10 @@ public class KeyboardView extends View { } mColors.setBackgroundColor(mActionKeyBackground, Colors.TYPE_ACTION); mColors.setBackgroundColor(mSpacebarBackground, Colors.TYPE_SPACE); - mColors.setBackgroundColor(mFunctionalKeyBackground, Colors.TYPE_FUNCTIONAL); + if (this instanceof MoreKeysKeyboardView) + mColors.setBackgroundColor(mFunctionalKeyBackground, Colors.TYPE_ADJUSTED_BACKGROUND); + else + mColors.setBackgroundColor(mFunctionalKeyBackground, Colors.TYPE_FUNCTIONAL); if (this.getClass() == MoreKeysKeyboardView.class) getBackground().setColorFilter(mColors.adjustedBackgroundFilter); else { @@ -620,7 +623,7 @@ public class KeyboardView extends View { } private void setKeyIconColor(Key key, Drawable icon, Keyboard keyboard) { - if (key.isAccentColored() && !(mColors instanceof HoloColors)) { // todo: again sth that should not be here + if (key.isAccentColored() && !(mColors instanceof HoloColors)) { // todo: this logic should not be here icon.setColorFilter(mColors.actionKeyIconColorFilter); } else if (key.isShift() && keyboard != null) { // todo (idea): replace shift icon with white one and use the normal multiply filters diff --git a/app/src/main/res/values/themes-holo_base.xml b/app/src/main/res/values/themes-holo_base.xml index 06df018b8..1d1740d74 100644 --- a/app/src/main/res/values/themes-holo_base.xml +++ b/app/src/main/res/values/themes-holo_base.xml @@ -122,6 +122,7 @@ > @drawable/keyboard_popup_panel_background_holo_white @drawable/btn_keyboard_key_popup_holo_white + @drawable/btn_keyboard_key_popup_holo_white @drawable/more_keys_divider normal @dimen/config_more_keys_keyboard_vertical_correction_holo