How can i hide ImageView
when keyboard appears (after pressing on some EditText
).
And then show this ImageView
when keyboard is dismissed?
I think OnFocusChangeListener
might be the right thing for you.
editText.setOnFocusChangeListener(new OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
// view/hide ImageView
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With