darken the keyboard a bit, dont use the background color

This commit is contained in:
tibbi 2022-01-19 09:58:46 +01:00
parent 895c95ce93
commit 5df840e051
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class MainActivity : SimpleActivity() {
updateTextColors(main_holder) updateTextColors(main_holder)
updateChangeKeyboardColor() updateChangeKeyboardColor()
main_holder.setBackgroundColor(config.backgroundColor.lightenColor(3)) main_holder.setBackgroundColor(config.backgroundColor)
} }
override fun onCreateOptionsMenu(menu: Menu): Boolean { override fun onCreateOptionsMenu(menu: Menu): Boolean {

View File

@ -352,7 +352,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
newBgColor = newBgColor.darkenColor(4) newBgColor = newBgColor.darkenColor(4)
} }
background.applyColorFilter(newBgColor) background.applyColorFilter(newBgColor.darkenColor(2))
} }
} }