mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-04-01 12:20:03 +02: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)
|
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 {
|
||||||
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user