获取指向Android上的屏幕键盘视图 [英] Get pointer to onscreen keyboard view on Android
问题描述
我正在努力着色所有UI元素在天文学应用偏红。我已经成功地做到了这一切基本上除了屏幕键盘。我需要为了做到这一点才能到键盘的窗口或视图的引用。我还没有发现API中的任何这样做的。
任何人都可以提出一个方法,我得到这个持有?我所看到的帖子解释(对于一个黑客)如何时,显示或隐藏键盘,而不是真正得到视图的参考学习。
谢谢
比尔
任何人都可以提出一个方法,我得到这个不放?
块引用>写自己的输入法编辑器,并希望用户使用它。您可以在不影响其他开发商的code这样的。
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.
这篇关于获取指向Android上的屏幕键盘视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!