I am working to tint all UI elements reddish in an astronomy app. I have successfully done this for basically everything except the onscreen keyboard. I need to get a reference to the keyboard's Window or View in order to do this. I have not found anything in the API for doing so.
Can anyone suggest a way for me to get hold of this? I have seen postings explaining (a hack for) how to learn when the keyboard is shown or hidden, but not to actually get a reference to the view.
Thanks Bill
Can anyone suggest a way for me to get hold of this?
Write your own input method editor and hope users use it. You cannot affect other developers' code this way.
来源:https://stackoverflow.com/questions/8184721/get-pointer-to-onscreen-keyboard-view-on-android