mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-03-18 04:20:21 +01:00
darken the keyboard a bit, dont use the background color
This commit is contained in:
parent
895c95ce93
commit
5df840e051
@ -43,7 +43,7 @@ class MainActivity : SimpleActivity() {
|
||||
|
||||
updateTextColors(main_holder)
|
||||
updateChangeKeyboardColor()
|
||||
main_holder.setBackgroundColor(config.backgroundColor.lightenColor(3))
|
||||
main_holder.setBackgroundColor(config.backgroundColor)
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
|
@ -352,7 +352,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||
newBgColor = newBgColor.darkenColor(4)
|
||||
}
|
||||
|
||||
background.applyColorFilter(newBgColor)
|
||||
background.applyColorFilter(newBgColor.darkenColor(2))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user