如何修改的Andr​​oid OS键盘的来源$ C ​​$ C? [英] How can I edit the source code of android os keyboard?

查看:214
本文介绍了如何修改的Andr​​oid OS键盘的来源$ C ​​$ C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Android键盘,但我想补充一排按键给它,所以我下载了这款键盘的来源$ C ​​$ c从<一个href="https://android.googlesource.com/platform/packages/inputmethods/LatinIME/">https://android.googlesource.com/platform/packages/inputmethods/LatinIME/ ,但我面对以下错误

进口com.android.inputmethodcommon不能得到解决。

 进口com.android.inputmethodcommon.InputMethodSettingsFragment;
 

解决方案

您可以创建自己的自定义键盘Android中有任何数字或键显示。使用键盘,的 Keyboard.Row 和的 Keyboard.Key

有关键盘的更多定制看看这个的博客文章

I use android keyboard but I want to add a row of keys to it so I downloaded the source code of this keyboard from https://android.googlesource.com/platform/packages/inputmethods/LatinIME/ ,but I face the following error

The import com.android.inputmethodcommon cannot be resolved

import com.android.inputmethodcommon.InputMethodSettingsFragment;

解决方案

You are able to create your own custom keyboards in Android to have any number or keys displayed. Using Keyboard, Keyboard.Row, and Keyboard.Key

For more customizing of the keyboard check out this blog post.

这篇关于如何修改的Andr​​oid OS键盘的来源$ C ​​$ C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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