启用拼写检查三星设备 - 的Andr​​oid [英] Enable spell Checker in Samsung Devices - Android

查看:259
本文介绍了启用拼写检查三星设备 - 的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用我有一个的EditText 。测试我在谷歌Nexus 联想三星应用程序设备。除了三星设备当我输入错误的话它显示了一个红色下划线。但在三星设备,它不工作。我没有做任何事情来启用这些设备上。但三星它不工作。我看到了以在设置页面选项启用/禁用拼写检查。但在三星我没有看到该设置。

如何启用三星片中拼写检查?

我的三星的Andr​​oid版本4.1.1。

请注意:我需要编程启用拼写检查

反对票的欢迎。请把这里的意见。为什么要加入反对票。

我的设置屏幕看起来像

我的布局的EditText code:

 <的EditText
    机器人:ID =@ + ID / DwEdit
    机器人:layout_width =FILL_PARENT
    机器人:layout_height =WRAP_CONTENT
    机器人:layout_weight =9
    机器人:EMS =10
    机器人:重力=顶
    机器人:imeOptions =flagNoExtractUi
    安卓的minlines =7
    机器人:scrollHorizo​​ntally =假
    机器人:scrollbarAlwaysDrawVerticalTrack =真
    机器人:scrollbarStyle =insideInset
    机器人:滚动条=垂直
    机器人:overScrollMode =总是
    安卓的inputType =textCapSentences>
    < requestFocus的/>< /&的EditText GT;


解决方案

开放的Andr​​oid的设置菜单语言与;输入
然后检查拼写指示灯[X]

我认为Android默认提供了一个拼写检查服务。假设你没有看它在开发者网站,在这里不用链接,

开发者网站

此外,它看起来像的例子是可用的SDK包本身。

和检查该 <一个href=\"http://www.compiletimeerror.com/2014/09/spell-checker-tutorial-in-android-with.html#.VVBfIJMnUWI\"相对=nofollow>教程

In my application i have One EditText. I test my application in Google Nexus, Lenovo and Samsung Devices. Other than Samsung Device When i type wrong word it shows with an red underline. But in Samsung device it is not working. I didn't do anything to enable it on those devices. But Samsung it is not working. And i saw option in Setting page to enable/disable spell checker. But in Samsung i didn't see that setting.

How can i enable spell checker in Samsung Tablets?

My samsung Android Version 4.1.1.

Note: I need enable spell checker programmatically.

Negative votes are welcome. Please put the comments here. Why adding negative votes.

My setting screen looks like

My layout EditText Code:

<EditText
    android:id="@+id/DwEdit"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_weight="9"
    android:ems="10"
    android:gravity="top"
    android:imeOptions="flagNoExtractUi"
    android:minLines="7"
    android:scrollHorizontally="false"
    android:scrollbarAlwaysDrawVerticalTrack="true"
    android:scrollbarStyle="insideInset"
    android:scrollbars="vertical" 
    android:overScrollMode="always"
    android:inputType="textCapSentences">
    <requestFocus /></EditText>

解决方案

Open android setting menu then languages & input then check spelling indicator [x].

I think android provides a Spell Check service by default. Assuming that you didn't look for it in the developer website, here goes the link,

developer site

Also it looks like the examples are available with the sdk package itself.

and check this tutorial

这篇关于启用拼写检查三星设备 - 的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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