如何在Android上自定义谷歌输入法的键盘皮肤?
我需要更改android默认的Google输入法的皮肤,包括按钮的样式和图像、背景颜色,也许删除一两个按钮或让它们在单击时执行不同的操作。
默认输入法:
我想将其更改为样式:
是否可以自定义系统的输入法?有什么文章可以读吗?要编辑哪些类?
其实我要修改的是谷歌默认的中文拼音输入法,它看起来和英文输入键盘几乎一样。如果您知道修改此形式的英文键盘有差异,请也告诉我。
谢谢 !
I need to change the android's default Google input method's skin, including the buttons' style and image, background color, and maybe delete one or two button or make them to perform a different action when clicked.
Default Input Method:
I want to change it to the style:
Is it possible to customize system's input method? Any article to read? What classes to edit?
And actually what I want to modify is the Google's default Chinese Pinyin Input Method, which looks almost the same to the English input keyboard. If you know there was a difference to modify this form the English keyboard, please tell me too.
Thank you !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
A1。是的,这是可能的。
A2。参考developer.android.com
A3。这取决于拼音实现和您的要求。据我所知,您必须修改“res”文件夹(例如,您必须首先修改它的colors.xml。)。所以,你必须先获得拼音输入法源代码。
A1. Yes, it's possible.
A2. refer to developer.android.com
A3. It depends's the Pinyin implementation and your request. As I know the 'res' folder you have to modify(Ex. colors.xml you have to modify it first.). So, you have to get pinyin IME source code first.