From d0fbabf1659fb109e085fc002663afbe505d598a Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Fri, 15 Mar 2024 11:03:02 -0500 Subject: [PATCH] Style settings and enter icons --- .../futo/inputmethod/latin/uix/BasicThemeProvider.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/java/src/org/futo/inputmethod/latin/uix/BasicThemeProvider.kt b/java/src/org/futo/inputmethod/latin/uix/BasicThemeProvider.kt index 2d4359cde..41b0e1372 100644 --- a/java/src/org/futo/inputmethod/latin/uix/BasicThemeProvider.kt +++ b/java/src/org/futo/inputmethod/latin/uix/BasicThemeProvider.kt @@ -136,6 +136,18 @@ class BasicThemeProvider(val context: Context, val overrideColorScheme: ColorSch )!!.apply { setTint(onBackground) } + drawables[R.styleable.Keyboard_iconSettingsKey] = AppCompatResources.getDrawable( + context, + R.drawable.settings + )!!.apply { + setTint(onPrimary) + } + drawables[R.styleable.Keyboard_iconEnterKey] = AppCompatResources.getDrawable( + context, + R.drawable.sym_keyboard_return_lxx_light + )!!.apply { + setTint(onPrimary) + } drawables[R.styleable.Keyboard_iconLanguageSwitchKey] = AppCompatResources.getDrawable( context, R.drawable.globe