获取指向Android上的屏幕键盘视图 [英] Get pointer to onscreen keyboard view on Android

查看:160
本文介绍了获取指向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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆