EditText上输入类型textCapSentences不工作的棒棒糖 [英] EditText input type textCapSentences not working on Lollipop

查看:595
本文介绍了EditText上输入类型textCapSentences不工作的棒棒糖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经Impl​​emeted一个的android:inputType下=textAutoComplete | textCapSentences在我的XML code。当我运行它的奇巧 textCapSentence 工作正常,但当构建上运行的棒棒堂设备不工作。任何人都知道如何解决它。

I have implemeted android:inputType="textAutoComplete|textCapSentences" in my xml code. When I run it on kitkat, textCapSentence works fine but when build is run on Lollipop device it does not work. Anybody knows how to solve it.

推荐答案

你好,这是因为在棒棒糖,如果你禁用了自动 - 资本在键盘设置,你不能以编程方式启用

Hi this is because in lollipop if you have disabled Auto - Capitalization in keyboard settings then you can't enable it programmatically.

下面是步骤: -


  • 您的Andr​​oid设备棒棒堂的主屏幕上的设置中点击图标

  • 在设置屏幕上,向下滚动到个人部分,然后点击语言和放大器;输入部分。

  • 在语言和放大器;输入部分中,选择您的键盘(这是标记为当前的键盘)。

  • 现在,请点击'preferences。

  • 点击查看自动 - 资本来启用它

  • 这就是全部!

这篇关于EditText上输入类型textCapSentences不工作的棒棒糖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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