Android: How to track if soft-keyboard is openned?
问题 In my application, the device soft-keyboard is covering the EditTextViews, so user cannot see what he is typing. So i want to hide other Views(like a button in my case), to make the EditTextViews visible. But instead on doing something like EditText.onFocus(){ //hide button } for every EditText, i want to do something like if(soft-keyboard.isOpenned()) //hide button } how to track if soft-keyboard is openned or closed? Edit: Actually my layout is this: <?xml version="1.0" encoding="utf-8"?>