Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何更改弹出键盘(用户长按某个键时出现的小键盘)的背景图像?
你需要扩展一个InputMethodService
InputMethodService
然后在以下位置构建您的 UI:
@Override public View onCreateInputView()
看:
http://android-developers.blogspot.co.il/2009/04/creating-input-method.html
http://gitorious.org/0xdroid/packages_inputmethods_latinime/blobs/ab17fca519fa27af01d29a38c553e250c9e92a9e/src/com/android/inputmethod/latin/LatinIME.java