最近我已经开始开发Android软键盘,并得到了一些问题,preferences。
Recently I've started to develop Android Soft Keyboard and got some problem with preferences.
如何添加preferences到Android设置应用程序?我搜索几乎所有的源$ C $ AnySoftKeyboard的C,但没有发现任何东西什么把它们添加到设置应用程序。
How to add a preferences to Android setting app? I've searched almost all the source code of AnySoftKeyboard, but haven't found anything what would add them to Settings app.
我把一个链接显示了我的意思: HTTP:/ /$c$c.google.com/p/softkeyboard/wiki/Settings
I'm placing a link to show what I meant: http://code.google.com/p/softkeyboard/wiki/Settings
(从开始第一张图片)
感谢您
P.S。对不起,我的英文不好。
P.S. Sorry for my bad english..
我找到了自己:
在输入法的XML,你需要把机器人:settingsActivity 与链接到你的preferenceActivity类标签: Example
in XML of input method you need to put android:settingsActivity tag with link to your PreferenceActivity class: Example