close clipboard manager if keyboard visibility changes
This commit is contained in:
parent
f4112aa797
commit
34388b634f
|
@ -260,6 +260,8 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||||
|
|
||||||
override fun onVisibilityChanged(changedView: View, visibility: Int) {
|
override fun onVisibilityChanged(changedView: View, visibility: Int) {
|
||||||
super.onVisibilityChanged(changedView, visibility)
|
super.onVisibilityChanged(changedView, visibility)
|
||||||
|
closeClipboardManager()
|
||||||
|
|
||||||
if (visibility == VISIBLE) {
|
if (visibility == VISIBLE) {
|
||||||
mTextColor = context.config.textColor
|
mTextColor = context.config.textColor
|
||||||
mBackgroundColor = context.config.backgroundColor
|
mBackgroundColor = context.config.backgroundColor
|
||||||
|
|
Loading…
Reference in New Issue