动态更改Android的软键盘语言设置? [英] Dynamically change android soft keyboard language setting?

查看:142
本文介绍了动态更改Android的软键盘语言设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些编辑框在我的应用程序,其中一些我会输入英文文本,其中一些我将投入西班牙语。

I have some edit boxes in my app, some of them I will input English text, some of them I will input Spanish.

我使用的是标准的Andr​​oid软键盘,但是因为我的设备区域设置为英语,当我在我的西班牙编辑框一种类型的西班牙语,英语纠正文/ predictive文本,使这个困难

I'm using the standard android soft keyboard, however as my device locale is set to English, when I type Spanish in one of my "Spanish" edit boxes, the English corrective text/predictive text makes this difficult.

我发现的唯一的解决方法,就是进入设备的设置和更改语言结束了,但是这是很烦人的。

The only workaround I've found, is to go into the device settings and change the language over, but this is quite annoying.

反正是有,我可以有一些按钮,当按下会动态改变软键盘语言设置?通过任何意图这暴露?

Is there anyway I could have some kind of button, that when clicked would dynamically change the soft keyboards language setting? Is this exposed via any Intents?

问候

推荐答案

尝试滑过空格键你的手指在键盘上改变语言。

Try to slide your finger across the spacebar on your keyboard to change languages.

这篇关于动态更改Android的软键盘语言设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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