安卓的EditText自定义键盘 [英] Android : EditText with custom keyboard

查看:153
本文介绍了安卓的EditText自定义键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面的SDK中的例子创建了自己的自定义键盘。

现在,我想在我的应用程序在我的EditText默认使用此自定义键盘(actualy我有很长preSS的EditText上,然后选择我的自定义键盘)。

我怎么能这样做? (似乎是相关inputType属性,但我不能找出如何设置吧)

谢谢!

解决方案
  

我怎么能这样做?

让您的用户设置键盘是它们的默认。应用程序不具有控制权的。

I created my own custom keyboard following the the example in the sdk.

Now I would like to use this custom keyboard by default on my EditText in my app (actualy I have to long press the edittext and then choose my custom keyboard).

How can I do that ? (seems to be related to the inputType property but I can't find out how to set it)

Thanks !

解决方案

How can I do that?

Have your users set your keyboard to be their default. Applications do not have control over that.

这篇关于安卓的EditText自定义键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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